| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <beans xmlns="http://www.springframework.org/schema/beans" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:gshell="http://gshell.org/schema/wisdom-gshell" |
| xsi:schemaLocation=" |
| http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd |
| http://gshell.org/schema/wisdom-gshell http://gshell.org/schema/wisdom-gshell/wisdom-gshell.xsd" |
| default-autowire="no" |
| default-dependency-check="none" |
| default-init-method="init" |
| default-destroy-method="destroy"> |
| |
| <gshell:plugin name="gshell-builtins"> |
| <gshell:command-bundle name="default"> |
| <gshell:command name="about"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.AboutAction"> |
| <constructor-arg ref="applicationManager"/> |
| </gshell:action> |
| </gshell:command> |
| |
| <gshell:command name="help"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.HelpAction"> |
| <constructor-arg ref="commandResolver"/> |
| </gshell:action> |
| <gshell:completers> |
| <bean class="org.apache.geronimo.gshell.console.completer.AggregateCompleter"> |
| <constructor-arg> |
| <list> |
| <ref bean="aliasNameCompleter"/> |
| <ref bean="commandNameCompleter"/> |
| </list> |
| </constructor-arg> |
| </bean> |
| <null/> |
| </gshell:completers> |
| </gshell:command> |
| |
| <gshell:command name="exit"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.ExitAction"/> |
| </gshell:command> |
| |
| <gshell:link name="quit" target="exit"/> |
| |
| <gshell:command name="echo"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.EchoAction"/> |
| </gshell:command> |
| |
| <gshell:link name="print" target="echo"/> |
| |
| <gshell:command name="clear" type="stateless"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.ClearAction"/> |
| </gshell:command> |
| |
| <gshell:command name="source"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.SourceAction"> |
| <constructor-arg ref="commandLineExecutor"/> |
| <constructor-arg ref="fileSystemAccess"/> |
| </gshell:action> |
| <gshell:completers> |
| <ref bean="fileObjectNameCompleter"/> |
| <null/> |
| </gshell:completers> |
| </gshell:command> |
| |
| <gshell:command name="set"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.SetAction"/> |
| </gshell:command> |
| |
| <gshell:command name="unset"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.UnsetAction"/> |
| <gshell:completers> |
| <ref bean="variableNameCompleter"/> |
| <null/> |
| </gshell:completers> |
| </gshell:command> |
| |
| <gshell:command name="alias"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.AliasAction"> |
| <constructor-arg ref="aliasRegistry"/> |
| </gshell:action> |
| </gshell:command> |
| |
| <gshell:command name="unalias"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.UnaliasAction"> |
| <constructor-arg ref="aliasRegistry"/> |
| </gshell:action> |
| <gshell:completers> |
| <ref bean="aliasNameCompleter"/> |
| <null/> |
| </gshell:completers> |
| </gshell:command> |
| |
| <gshell:command name="history"> |
| <gshell:action class="org.apache.geronimo.gshell.commands.builtins.HistoryAction"/> |
| </gshell:command> |
| </gshell:command-bundle> |
| </gshell:plugin> |
| |
| </beans> |