[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Tom Elrod
tom.elrod at jboss.com
Thu Jul 27 15:54:59 EDT 2006
User: telrod
Date: 06/07/27 15:54:59
Modified: src/main/org/jboss/remoting Client.java Remoting.java
Log:
JBREM-507 - changed some config property values to be consistent and added config properties to doc.
Revision Changes Path
1.46 +7 -7 JBossRemoting/src/main/org/jboss/remoting/Client.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Client.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/Client.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- Client.java 19 Jul 2006 16:34:48 -0000 1.45
+++ Client.java 27 Jul 2006 19:54:58 -0000 1.46
@@ -59,7 +59,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
- * @version $Revision: 1.45 $
+ * @version $Revision: 1.46 $
*/
public class Client implements Externalizable
{
@@ -82,7 +82,7 @@
* when want to make direct calls on systems outside of remoting
* (e.g. making a http POST request to a web service).
*/
- public static final String RAW = "RAW_PAYLOAD";
+ public static final String RAW = "rawPayload";
/**
* Key for the configuration map passed to the Client constructor
@@ -92,35 +92,35 @@
* Client leasing is turned off by default, so would need to use this property
* to turn client leasing on.
*/
- public static final String ENABLE_LEASE = "ENABLE_LEASE";
+ public static final String ENABLE_LEASE = "enableLease";
/**
* Key for the configuration map passed to the Client constructor providing a
* ssl javax.net.ssl.HandshakeCompletedListener implementation, which will
* be called on when ssl handshake completed with server.
*/
- public static final String HANDSHAKE_COMPLETED_LISTENER = "HANDSHAKE_COMPLETED_LISTENER";
+ public static final String HANDSHAKE_COMPLETED_LISTENER = "handshakeCompletedListener";
/**
* Key for the configuration when adding a callback handler and internal callback server
* connector is created. The value should be the transport protocol to be used. By default
* will use the same protocol as being used by this client (e.g. http, socket, rmi, multiplex, etc.)
*/
- public static final String CALLBACK_SERVER_PROTOCOL = "CALLBACK_SERVER_PROTOCOL";
+ public static final String CALLBACK_SERVER_PROTOCOL = "callbackServerProtocol";
/**
* Key for the configuration when adding a callback handler and internal callback server
* connector is created. The value should be the host name to be used. By default
* will use the result of calling InetAddress.getLocalHost().getHostAddress().
*/
- public static final String CALLBACK_SERVER_HOST = "CALLBACK_SERVER_HOST";
+ public static final String CALLBACK_SERVER_HOST = "callbackServerHost";
/**
* Key for the configuration when adding a callback handler and internal callback server
* connector is created. The value should be the port to be used. By default
* will find a random unused port.
*/
- public static final String CALLBACK_SERVER_PORT = "CALLBACK_SERVER_PORT";
+ public static final String CALLBACK_SERVER_PORT = "callbackServerPort";
/**
* Indicated the max number of threads used within oneway thread pool.
1.2 +3 -3 JBossRemoting/src/main/org/jboss/remoting/Remoting.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Remoting.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/Remoting.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Remoting.java 20 Jun 2006 15:20:40 -0000 1.1
+++ Remoting.java 27 Jul 2006 19:54:59 -0000 1.2
@@ -31,18 +31,18 @@
* Key for the configuration map passed to a Connector to indicate the server
* socket factory to be used. This will override the creation of any other socket factory.
*/
- public static final String CUSTOM_SERVER_SOCKET_FACTORY = "CUSTOM_SERVER_SOCKET_FACTORY";
+ public static final String CUSTOM_SERVER_SOCKET_FACTORY = "customServerSocketFactory";
/**
* Key for the configuration map passed to a Client to indicate the socket factory to
* be used. This will override the creation of any other socket factory.
*/
- public static final String CUSTOM_SOCKET_FACTORY = "CUSTOM_SOCKET_FACTORY";
+ public static final String CUSTOM_SOCKET_FACTORY = "customSocketFactory";
/**
* Key for the configuration map passed to a Client to indicate the classname of
* the socket factory to be used.
*/
- public static final String SOCKET_FACTORY_NAME = "CUSTOM_SOCKET_FACTORY_NAME";
+ public static final String SOCKET_FACTORY_NAME = "customSocketFactoryName";
}
More information about the jboss-cvs-commits
mailing list