Author: ron.sigal(a)jboss.com
Date: 2008-08-06 03:02:03 -0400 (Wed, 06 Aug 2008)
New Revision: 4472
Modified:
remoting2/branches/2.x/docs/guide/en/chap9.xml
Log:
JBREM-1012: Updated discussion of configuring a server side ConnectionListener.
Modified: remoting2/branches/2.x/docs/guide/en/chap9.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/chap9.xml 2008-08-06 06:24:54 UTC (rev 4471)
+++ remoting2/branches/2.x/docs/guide/en/chap9.xml 2008-08-06 07:02:03 UTC (rev 4472)
@@ -94,11 +94,16 @@
<programlisting>public void addConnectionListener(ConnectionListener
listener)</programlisting>
- <para>or though the use of the
+ <para>or through the use of the
<code>ServerInvoker.CONNECTION_LISTENER</code> parameter (actual value
"connectionListener") in the
<classname>Connector</classname>'s
- configuration map or XML configuration file. Once both criteria are met, the
- remoting server will turn on client leasing.</para>
+ configuration map, XML configuration file, or
+ <classname>ServerConfiguration</classname> POJO. If the
+ <code>ServerInvoker.CONNECTION_LISTENER</code> parameter is used, the
value
+ can be either a JMX object name or the fully qualified name of a class that
+ implements <classname>ConnectionListener</classname> and has a default
+ constructor. Once both criteria are met, the remoting server will turn on
+ client leasing.</para>
<para>The ConnectionListener will be notified of both client failures and
client disconnects via the handleConnectionException() method. If the client
Show replies by date