[jboss-remoting-commits] JBoss Remoting SVN: r5235 - remoting2/branches/2.2/src/main/org/jboss/remoting.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Fri May 15 17:49:34 EDT 2009
Author: ron.sigal at jboss.com
Date: 2009-05-15 17:49:33 -0400 (Fri, 15 May 2009)
New Revision: 5235
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/AbstractInvoker.java
Log:
JBREM-1102: Added passConfigMapToMarshalFactory variable.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/AbstractInvoker.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/AbstractInvoker.java 2009-05-15 05:20:02 UTC (rev 5234)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/AbstractInvoker.java 2009-05-15 21:49:33 UTC (rev 5235)
@@ -65,6 +65,7 @@
protected String serializationType;
protected Map configuration = new HashMap();
protected SocketFactory socketFactory;
+ protected boolean passConfigMapToMarshalFactory;
// Indicates if the serverSocketFactory was generated internally.
protected boolean socketFactoryCreatedFromSSLParameters;
@@ -120,6 +121,16 @@
{
this.setSerializationType(locator.findSerializationType());
}
+
+ Object 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);
+ }
}
/**
More information about the jboss-remoting-commits
mailing list