commit | 65b51e9292ef69c7827fa60b28ae4f6178f7e7c4 | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Mon Jun 08 19:25:20 2009 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Mon Jun 08 19:25:20 2009 +0000 |
tree | 8d688ac87f71da06a7f26714d8d0a0d2bcbf3f41 | |
parent | 4781bc9928e21041de1d60119a8459b4dd9a4654 [diff] [blame] |
FELIX-1024: Fix the karaf client/server to allow direct execution of commands git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@782734 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/gshell/gshell-run/src/main/resources/META-INF/spring/gshell-remote.xml b/karaf/gshell/gshell-run/src/main/resources/META-INF/spring/gshell-remote.xml index 81b5990..e41e3fa 100644 --- a/karaf/gshell/gshell-run/src/main/resources/META-INF/spring/gshell-remote.xml +++ b/karaf/gshell/gshell-run/src/main/resources/META-INF/spring/gshell-remote.xml
@@ -66,6 +66,11 @@ </property> </bean> </property> + <property name="commandFactory"> + <bean class="org.apache.felix.karaf.gshell.core.sshd.ShellCommandFactory"> + <property name="executor" ref="commandLineExecutor" /> + </bean> + </property> <property name="keyPairProvider" ref="keyPairProvider" /> <property name="passwordAuthenticator" ref="passwordAuthenticator" /> </bean>