Author: ron.sigal(a)jboss.com
Date: 2009-05-16 20:23:16 -0400 (Sat, 16 May 2009)
New Revision: 5252
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/AbstractInvoker.java
Log:
JBREM-1102: Added passConfigMapToMarshalFactory variable.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/AbstractInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/AbstractInvoker.java 2009-05-17
00:22:30 UTC (rev 5251)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/AbstractInvoker.java 2009-05-17
00:23:16 UTC (rev 5252)
@@ -66,6 +66,7 @@
protected Map configuration = new HashMap();
protected SocketFactory socketFactory;
protected int version;
+ protected boolean passConfigMapToMarshalFactory;
// Indicates if the serverSocketFactory was generated internally.
protected boolean socketFactoryCreatedFromSSLParameters;
@@ -160,6 +161,16 @@
log.warn(this + " value of " + Remoting.REMOTING_VERSION +
" must be a String: " + o + ". Using " +
getVersion());
}
+
+ o = configuration.get(Remoting.PASS_CONFIG_MAP_TO_MARSHAL_FACTORY);
+ if (o instanceof String)
+ {
+ this.passConfigMapToMarshalFactory = Boolean.valueOf((String)
o).booleanValue();
+ }
+ else if (o != null)
+ {
+ log.warn("value of " + Remoting.PASS_CONFIG_MAP_TO_MARSHAL_FACTORY +
" must be a String: " + o);
+ }
}
/**
Show replies by date