You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by gn...@apache.org on 2007/12/06 12:52:13 UTC

svn commit: r601710 - /geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java

Author: gnodet
Date: Thu Dec  6 03:52:08 2007
New Revision: 601710

URL: http://svn.apache.org/viewvc?rev=601710&view=rev
Log:
Add construtor to RshClient

Modified:
    geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java

Modified: geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java?rev=601710&r1=601709&r2=601710&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java (original)
+++ geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java Thu Dec  6 03:52:08 2007
@@ -77,6 +77,15 @@
     @Requirement(role=ClientMessageHandler.class)
     private List<ClientMessageHandler> handlers;
 
+    public RshClient() {
+    }
+
+    public RshClient(final CryptoContext crypto, final TransportFactoryLocator locator, final List<ClientMessageHandler> handlers) {
+        this.crypto = crypto;
+        this.locator = locator;
+        this.handlers = handlers;
+    }
+
     public void initialize() throws InitializationException {
         new JaasConfigurationHelper("client.login.conf").initialize();
     }