blob: 4ed2f901d255c57cb96580e9de29bd7932c0e98d [file] [log] [blame]
Guillaume Nodet05fac962009-04-27 10:01:58 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4 Licensed to the Apache Software Foundation (ASF) under one or more
5 contributor license agreements. See the NOTICE file distributed with
6 this work for additional information regarding copyright ownership.
7 The ASF licenses this file to You under the Apache License, Version 2.0
8 (the "License"); you may not use this file except in compliance with
9 the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19-->
20<beans xmlns="http://www.springframework.org/schema/beans"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xmlns:util="http://www.springframework.org/schema/util"
23 xmlns:gshell="http://servicemix.apache.org/schema/servicemix-gshell"
24 xsi:schemaLocation="
25 http://www.springframework.org/schema/beans
26 http://www.springframework.org/schema/beans/spring-beans.xsd
27 http://www.springframework.org/schema/util
28 http://www.springframework.org/schema/util/spring-util.xsd
29 http://servicemix.apache.org/schema/servicemix-gshell
30 http://servicemix.apache.org/schema/servicemix-gshell/servicemix-gshell.xsd"
31 default-autowire="no"
32 default-dependency-check="none"
33 default-init-method="init"
34 default-destroy-method="destroy">
35
Guillaume Nodet05fac962009-04-27 10:01:58 +000036 <gshell:command-bundle>
37 <gshell:command name="about">
38 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.AboutAction">
39 <constructor-arg ref="application"/>
40 </gshell:action>
41 </gshell:command>
42
43 <gshell:command name="help">
44 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.HelpAction">
45 <constructor-arg ref="commandResolver"/>
46 </gshell:action>
47 <gshell:completers>
48 <bean class="org.apache.geronimo.gshell.console.completer.AggregateCompleter">
49 <constructor-arg>
50 <list>
51 <ref bean="aliasNameCompleter"/>
52 <ref bean="commandNameCompleter"/>
53 </list>
54 </constructor-arg>
55 </bean>
56 <null/>
57 </gshell:completers>
58 </gshell:command>
59
60 <gshell:command name="exit">
61 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.ExitAction"/>
62 </gshell:command>
63
64 <gshell:link name="quit" target="exit"/>
65
66 <gshell:command name="echo">
67 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.EchoAction"/>
68 </gshell:command>
69
Guillaume Nodet810fec92009-05-04 11:26:15 +000070 <gshell:command name="clear">
Guillaume Nodet05fac962009-04-27 10:01:58 +000071 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.ClearAction"/>
72 </gshell:command>
73
74 <gshell:command name="source">
75 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.SourceAction">
76 <constructor-arg ref="commandLineExecutor"/>
77 <constructor-arg ref="fileSystemAccess"/>
78 </gshell:action>
79 <gshell:completers>
80 <ref bean="fileObjectNameCompleter"/>
81 <null/>
82 </gshell:completers>
83 </gshell:command>
84
85 <gshell:command name="set">
86 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.SetAction"/>
87 </gshell:command>
88
89 <gshell:command name="unset">
90 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.UnsetAction"/>
91 <gshell:completers>
92 <ref bean="variableNameCompleter"/>
93 <null/>
94 </gshell:completers>
95 </gshell:command>
96
97 <gshell:command name="alias">
98 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.AliasAction">
99 <constructor-arg ref="aliasRegistry"/>
100 </gshell:action>
101 </gshell:command>
102
103 <gshell:command name="unalias">
104 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.UnaliasAction">
105 <constructor-arg ref="aliasRegistry"/>
106 </gshell:action>
107 <gshell:completers>
108 <ref bean="aliasNameCompleter"/>
109 <null/>
110 </gshell:completers>
111 </gshell:command>
112
113 <gshell:command name="history">
114 <gshell:action class="org.apache.geronimo.gshell.commands.builtin.HistoryAction"/>
115 </gshell:command>
116
117 <gshell:command name="info">
Gert Vanthienenf54a8392009-05-02 19:57:13 +0000118 <gshell:action class="org.apache.felix.karaf.gshell.core.commands.InfoAction">
Guillaume Nodet05fac962009-04-27 10:01:58 +0000119 <constructor-arg ref="branding" />
120 </gshell:action>
121 </gshell:command>
122 </gshell:command-bundle>
123
124 <gshell:command-bundle>
125 <gshell:command name="ssh">
126 <gshell:action class="org.apache.geronimo.gshell.commands.ssh.SshAction"/>
127 </gshell:command>
128
129 <gshell:command name="sshd">
130 <gshell:action class="org.apache.geronimo.gshell.commands.ssh.SshServerAction"/>
131 </gshell:command>
132 </gshell:command-bundle>
133
134 <gshell:command-bundle>
135 <gshell:command name="exec">
136 <gshell:action class="org.apache.geronimo.gshell.commands.shell.ExecuteAction"/>
137 </gshell:command>
138
139 <gshell:command name="java">
140 <gshell:action class="org.apache.geronimo.gshell.commands.shell.JavaAction"/>
141 </gshell:command>
142
143 <gshell:command name="sleep">
144 <gshell:action class="org.apache.geronimo.gshell.commands.shell.SleepAction"/>
145 </gshell:command>
146
147 <gshell:command name="date">
148 <gshell:action class="org.apache.geronimo.gshell.commands.shell.DateAction"/>
149 </gshell:command>
150
151 <gshell:command name="edit">
152 <gshell:action class="org.apache.geronimo.gshell.commands.shell.EditAction">
153 <property name="fileSystemAccess" ref="fileSystemAccess"/>
154 </gshell:action>
155 <gshell:completers>
156 <ref bean="fileObjectNameCompleter"/>
157 <null/>
158 </gshell:completers>
159 </gshell:command>
160
161 <gshell:command name="find">
162 <gshell:action class="org.apache.geronimo.gshell.commands.shell.FindAction">
163 <property name="fileSystemAccess" ref="fileSystemAccess"/>
164 </gshell:action>
165 <gshell:completers>
166 <ref bean="fileObjectNameCompleter"/>
167 <null/>
168 </gshell:completers>
169 </gshell:command>
170
171 <gshell:command name="sort">
172 <gshell:action class="org.apache.geronimo.gshell.commands.text.SortAction">
173 <property name="fileSystemAccess" ref="fileSystemAccess"/>
174 </gshell:action>
175 <gshell:completers>
176 <ref bean="fileObjectNameCompleter"/>
177 <null/>
178 </gshell:completers>
179 </gshell:command>
180 </gshell:command-bundle>
181
182 <gshell:command-bundle>
183 <gshell:command name="hostname">
184 <gshell:action class="org.apache.geronimo.gshell.commands.network.HostnameAction"/>
185 </gshell:command>
186 </gshell:command-bundle>
187
188 <gshell:command-bundle>
189 <gshell:link name="print" target="echo"/>
190
191 <gshell:command name="printf">
192 <gshell:action class="org.apache.geronimo.gshell.commands.text.PrintfAction"/>
193 </gshell:command>
194
195 <gshell:command name="cat">
196 <gshell:action class="org.apache.geronimo.gshell.commands.text.CatAction">
197 <property name="fileSystemAccess" ref="fileSystemAccess"/>
198 </gshell:action>
199 <gshell:completers>
200 <ref bean="fileObjectNameCompleter"/>
201 <null/>
202 </gshell:completers>
203 </gshell:command>
204
205 <gshell:command name="grep">
206 <gshell:action class="org.apache.geronimo.gshell.commands.text.GrepAction"/>
207 </gshell:command>
208 </gshell:command-bundle>
209
210 <gshell:command-bundle>
211 <gshell:command name="cd">
Guillaume Nodet810fec92009-05-04 11:26:15 +0000212 <gshell:action class="org.apache.geronimo.gshell.commands.file.ChangeDirectoryAction">
213 <property name="fileSystemAccess" ref="fileSystemAccess"/>
214 </gshell:action>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000215 <gshell:completers>
216 <ref bean="fileObjectNameCompleter"/>
217 <null/>
218 </gshell:completers>
219 </gshell:command>
220
Guillaume Nodet810fec92009-05-04 11:26:15 +0000221 <gshell:command name="pwd">
222 <gshell:action class="org.apache.geronimo.gshell.commands.file.CurrentDirectoryAction">
223 <property name="fileSystemAccess" ref="fileSystemAccess"/>
224 </gshell:action>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000225 </gshell:command>
226
227 <gshell:command name="ls">
Guillaume Nodet810fec92009-05-04 11:26:15 +0000228 <gshell:action class="org.apache.geronimo.gshell.commands.file.ListDirectoryAction">
229 <property name="fileSystemAccess" ref="fileSystemAccess"/>
230 </gshell:action>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000231 <gshell:completers>
232 <ref bean="fileObjectNameCompleter"/>
233 <null/>
234 </gshell:completers>
235 </gshell:command>
236
237 <gshell:link name="dir" target="ls"/>
238
239 <gshell:command name="cp">
Guillaume Nodet810fec92009-05-04 11:26:15 +0000240 <gshell:action class="org.apache.geronimo.gshell.commands.file.CopyAction">
241 <property name="fileSystemAccess" ref="fileSystemAccess"/>
242 </gshell:action>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000243 <gshell:completers>
244 <ref bean="fileObjectNameCompleter"/>
245 <ref bean="fileObjectNameCompleter"/>
246 <null/>
247 </gshell:completers>
248 </gshell:command>
249
250 <gshell:link name="copy" target="cp"/>
251
252 <gshell:command name="rm">
Guillaume Nodet810fec92009-05-04 11:26:15 +0000253 <gshell:action class="org.apache.geronimo.gshell.commands.file.RemoveAction">
254 <property name="fileSystemAccess" ref="fileSystemAccess"/>
255 </gshell:action>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000256 <gshell:completers>
257 <ref bean="fileObjectNameCompleter"/>
258 <null/>
259 </gshell:completers>
260 </gshell:command>
261
262 <gshell:link name="del" target="rm"/>
263
264 <gshell:command name="fileinfo">
Guillaume Nodet810fec92009-05-04 11:26:15 +0000265 <gshell:action class="org.apache.geronimo.gshell.commands.file.FileInfoAction">
266 <property name="fileSystemAccess" ref="fileSystemAccess"/>
267 </gshell:action>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000268 <gshell:completers>
269 <ref bean="fileObjectNameCompleter"/>
270 <null/>
271 </gshell:completers>
272 </gshell:command>
273
274 <gshell:command name="touch">
Guillaume Nodet810fec92009-05-04 11:26:15 +0000275 <gshell:action class="org.apache.geronimo.gshell.commands.file.TouchAction">
276 <property name="fileSystemAccess" ref="fileSystemAccess"/>
277 </gshell:action>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000278 <gshell:completers>
279 <ref bean="fileObjectNameCompleter"/>
280 <null/>
281 </gshell:completers>
282 </gshell:command>
283 </gshell:command-bundle>
284
285</beans>