JBoss Remoting SVN: r5266 - remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-17 03:55:16 -0400 (Sun, 17 May 2009)
New Revision: 5266
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/ServerThread.java
Log:
JBREM-1102: Removed unused passConfigMapToMarshalFactory instance variable.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/ServerThread.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/ServerThread.java 2009-05-17 07:00:53 UTC (rev 5265)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/ServerThread.java 2009-05-17 07:55:16 UTC (rev 5266)
@@ -126,8 +126,6 @@
private long lastRequestHandledTimestamp = System.currentTimeMillis();
private boolean reuseAfterTimeout;
-
- private boolean passConfigMapToMarshalFactory;
// Constructors ---------------------------------------------------------------------------------
14 years, 11 months
JBoss Remoting SVN: r5265 - remoting2/branches/2.x/src/main/org/jboss/remoting.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-17 03:00:53 -0400 (Sun, 17 May 2009)
New Revision: 5265
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
Log:
JBREM-956, JBREM-1132: Restored passing of configuration map to LeasePinger constructor.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java 2009-05-17 06:58:29 UTC (rev 5264)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java 2009-05-17 07:00:53 UTC (rev 5265)
@@ -530,7 +530,7 @@
if(trace) { log.trace("server does have leasing enabled (with default lease period of " + defaultLeasePeriod + ") and will start a new lease pinger."); }
- leasePinger = new LeasePinger(this, invokerSessionID, defaultLeasePeriod);
+ leasePinger = new LeasePinger(this, invokerSessionID, defaultLeasePeriod, configuration);
leasePinger.setLeasePingerId(leasePingerId);
leasePinger.setUseClientConnectionIdentity(useClientConnectionIdentity);
leasePinger.addClient(clientSessionID, configuration, leasePeriod);
14 years, 11 months
JBoss Remoting SVN: r5264 - remoting2/branches/2.2/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-17 02:58:29 -0400 (Sun, 17 May 2009)
New Revision: 5264
Modified:
remoting2/branches/2.2/docs/guide/en/chap8.xml
Log:
Removed LEASE_PINGER_TIMEOUT, which is not implemented in 2.2
Modified: remoting2/branches/2.2/docs/guide/en/chap8.xml
===================================================================
--- remoting2/branches/2.2/docs/guide/en/chap8.xml 2009-05-17 03:49:35 UTC (rev 5263)
+++ remoting2/branches/2.2/docs/guide/en/chap8.xml 2009-05-17 06:58:29 UTC (rev 5264)
@@ -247,14 +247,6 @@
determine the time between PING messages sent by
<classname>LeasePinger</classname>.</para>
- <para><emphasis
- role="bold"><code>org.jboss.remoting.LeasePinger.LEASE_PINGER_TIMEOUT</code></emphasis>
- (actual value "leasePingerTimeout") - specifies the per invocation timeout
- value use by <classname>LeasePinger</classname> when it sends PING messages.
- In the absence of a configured value, the timeout value used by the
- <classname>Client</classname> that created the
- <classname>LeasePinger</classname> will be used.</para>
-
<para>For examples of how to use server side connection listeners, reference
org.jboss.test.remoting.lease.LeaseTestServer and
org.jboss.test.remoting.lease.LeaseTestClient.</para>
14 years, 11 months
JBoss Remoting SVN: r5263 - remoting2/branches/2.x/src/main/org/jboss/remoting.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-16 23:49:35 -0400 (Sat, 16 May 2009)
New Revision: 5263
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java
Log:
JBREM-1124: Removed accidentally inserted code in constructor which sets value of configuration.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java 2009-05-17 03:12:47 UTC (rev 5262)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java 2009-05-17 03:49:35 UTC (rev 5263)
@@ -295,17 +295,6 @@
public ServerInvoker(InvokerLocator locator, Map configuration)
{
super(locator, configuration);
-
- if (configuration != null)
- {
- this.configuration.putAll(configuration);
- }
-
- Map locatorParams = locator.getParameters();
- if(locatorParams != null)
- {
- this.configuration.putAll(locator.getParameters());
- }
}
// Public ---------------------------------------------------------------------------------------
14 years, 11 months
JBoss Remoting SVN: r5262 - remoting2/branches/2.x/src/main/org/jboss/remoting.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-16 23:12:47 -0400 (Sat, 16 May 2009)
New Revision: 5262
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java
Log:
JBREM-1132: Replaced Boolean.parseBoolean() with Boolean.valueOf() for jdk 1.4.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java 2009-05-17 03:12:17 UTC (rev 5261)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java 2009-05-17 03:12:47 UTC (rev 5262)
@@ -1149,7 +1149,7 @@
String useClientConnectionIdentityString = (String)config.get(Remoting.USE_CLIENT_CONNECTION_IDENTITY);
if(useClientConnectionIdentityString != null)
{
- useClientConnectionIdentity = Boolean.parseBoolean(useClientConnectionIdentityString);
+ useClientConnectionIdentity = Boolean.valueOf(useClientConnectionIdentityString).booleanValue();
}
// Inject ConnectionListener
14 years, 11 months
JBoss Remoting SVN: r5261 - remoting2/branches/2.2/src/main/org/jboss/remoting.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-16 23:12:17 -0400 (Sat, 16 May 2009)
New Revision: 5261
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/ServerInvoker.java
Log:
JBREM-1128: Replaced Boolean.parseBoolean() with Boolean.valueOf() for jdk 1.4.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/ServerInvoker.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/ServerInvoker.java 2009-05-17 01:10:17 UTC (rev 5260)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/ServerInvoker.java 2009-05-17 03:12:17 UTC (rev 5261)
@@ -1177,7 +1177,7 @@
String useClientConnectionIdentityString = (String)config.get(Remoting.USE_CLIENT_CONNECTION_IDENTITY);
if(useClientConnectionIdentityString != null)
{
- useClientConnectionIdentity = Boolean.parseBoolean(useClientConnectionIdentityString);
+ useClientConnectionIdentity = Boolean.valueOf(useClientConnectionIdentityString).booleanValue();
}
// Inject ConnectionListener
14 years, 11 months
JBoss Remoting SVN: r5259 - remoting2/branches/2.x/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-16 20:47:43 -0400 (Sat, 16 May 2009)
New Revision: 5259
Modified:
remoting2/branches/2.x/docs/guide/en/chap1.xml
Log:
JBREM-1135: Added highlights of release 2.5.2.
Modified: remoting2/branches/2.x/docs/guide/en/chap1.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/chap1.xml 2009-05-17 00:46:24 UTC (rev 5258)
+++ remoting2/branches/2.x/docs/guide/en/chap1.xml 2009-05-17 00:47:43 UTC (rev 5259)
@@ -189,6 +189,27 @@
support jdk 1.4.</para>
<section>
+ <title>Release 2.5.2</title>
+ <itemizedlist>
+ <listitem>
+ <para>Introduction of "connection identity" concept</para>
+ </listitem>
+ <listitem>
+ <para>More flexible configuration (see, for example, <code>org.jboss.remoting.Remoting.CONFIG_OVERRIDES_LOCATOR</code>)</para>
+ </listitem>
+ <listitem>
+ <para>Added immediate shutdown option for socket transport</para>
+ </listitem>
+ <!--listitem>
+ <para>Jars updated to conform to Application Server 5.1.0.CR1</para>
+ </listitem-->
+ <listitem>
+ <para>Multiple bug fixes.</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section>
<title>Release 2.5.1</title>
<itemizedlist>
<listitem>
14 years, 11 months
JBoss Remoting SVN: r5258 - remoting2/branches/2.x/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-16 20:46:24 -0400 (Sat, 16 May 2009)
New Revision: 5258
Modified:
remoting2/branches/2.x/docs/guide/en/chap5.xml
Log:
JBREM-1102: Added discussion of "passConfigMapToMarshalFactory"
Modified: remoting2/branches/2.x/docs/guide/en/chap5.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/chap5.xml 2009-05-17 00:39:35 UTC (rev 5257)
+++ remoting2/branches/2.x/docs/guide/en/chap5.xml 2009-05-17 00:46:24 UTC (rev 5258)
@@ -2771,6 +2771,14 @@
specified loader port, so must provide access if running through
firewall).</para>
+ <para><emphasis role="bold">Note.</emphasis> Prior to release 2.5.2, only the
+ parameters in the <classname>InvokerLocator</classname> were used to configure
+ marshallers and unmarshallers. As of release 2.5.2 the parameters in the
+ configuration map passed to an <classname>org.jboss.remoting.Client</classname>
+ or <classname>org.jboss.remoting.transport.Connector</classname> will also
+ be used if the parameter
+ <code>org.jboss.remoting.Remoting.PASS_CONFIG_MAP_TO_MARSHAL_FACTORY</code>
+ (actual value "passConfigMapToMarshalFactory") is set to "true".</para>
<bridgehead>Compression marshalling</bridgehead>
<para>A compression marshaller/unmarshaller is available as well which
@@ -6048,6 +6056,13 @@
new "connection identity" semantics described in Chapter
<xref linkend="chapter-connection-failure"/>.</para>
+ <para><emphasis role="bold">PASS_CONFIG_MAP_TO_MARSHAL_FACTORY</emphasis>
+ (actual value "passConfigMapToMarshalFactory") - if set to "true", tells clients and servers
+ to take parameters for configuring marshallers and unmarshallers from the
+ configuration map passed to <classname>Client</classname>s and
+ <classname>Connector</classname>s in addition to the parameters in the
+ <classname>InvokerLocator</classname>.</para>
+
</section>
<section>
14 years, 11 months
JBoss Remoting SVN: r5257 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport/web.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-05-16 20:39:35 -0400 (Sat, 16 May 2009)
New Revision: 5257
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java
Log:
JBREM-1102: Uses passConfigMapToMarshalFactory variable.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java 2009-05-17 00:39:21 UTC (rev 5256)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/web/WebServerInvoker.java 2009-05-17 00:39:35 UTC (rev 5257)
@@ -101,7 +101,8 @@
public UnMarshaller getUnMarshaller()
{
ClassLoader classLoader = getClassLoader(WebServerInvoker.class);
- UnMarshaller unmarshaller = MarshalFactory.getUnMarshaller(getLocator(), classLoader, configuration);
+ Map map = passConfigMapToMarshalFactory ? configuration : null;
+ UnMarshaller unmarshaller = MarshalFactory.getUnMarshaller(getLocator(), classLoader, map);
if(unmarshaller == null)
{
unmarshaller = MarshalFactory.getUnMarshaller(getDataType(), getSerializationType());
@@ -112,7 +113,8 @@
public Marshaller getMarshaller()
{
ClassLoader classLoader = getClassLoader(WebServerInvoker.class);
- Marshaller marshaller = MarshalFactory.getMarshaller(getLocator(), classLoader, configuration);
+ Map map = passConfigMapToMarshalFactory ? configuration : null;
+ Marshaller marshaller = MarshalFactory.getMarshaller(getLocator(), classLoader, map);
if(marshaller == null)
{
marshaller = MarshalFactory.getMarshaller(getDataType(), getSerializationType());
14 years, 11 months