Author: ron.sigal(a)jboss.com
Date: 2008-07-18 01:46:55 -0400 (Fri, 18 Jul 2008)
New Revision: 4386
Modified:
remoting2/branches/2.2/docs/guide/en/chap8.xml
Log:
JBREM-1010: Described injection of ConnectionListener.
Modified: remoting2/branches/2.2/docs/guide/en/chap8.xml
===================================================================
--- remoting2/branches/2.2/docs/guide/en/chap8.xml 2008-07-18 05:25:51 UTC (rev 4385)
+++ remoting2/branches/2.2/docs/guide/en/chap8.xml 2008-07-18 05:46:55 UTC (rev 4386)
@@ -90,16 +90,15 @@
<para>The second
criterion is that an implementation of the
<code>org.jboss.remoting.ConnectionListener</code> interface is added as
a
- connection listener to the Connector, via the method</para>
+ connection listener to the Connector, either via the method</para>
<programlisting>public void addConnectionListener(ConnectionListener
listener)</programlisting>
- <para> Once both criteria are met, the remoting server will turn on client
- leasing.</para>
-
- <para>Note that there is no way to register a
- <classname>ConnectionListener</classname> via xml based configuration
for
- the <classname>Connector</classname>.</para>
+ <para>or though 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>
<para>The ConnectionListener will be notified of both client failures and
client disconnects via the handleConnectionException() method. If the client
Show replies by date