Author: fhanik Date: Fri Oct 13 12:23:54 2006 New Revision: 463790 URL: http://svn.apache.org/viewvc?view=rev&rev=463790 Log: Listener documentation
Removed: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderLifecycleListener.java Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/ClusterListener.java tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-listener.xml Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/ClusterListener.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/ClusterListener.java?view=diff&rev=463790&r1=463789&r2=463790 ============================================================================== --- tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/ClusterListener.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/ClusterListener.java Fri Oct 13 12:23:54 2006 @@ -19,11 +19,11 @@ -import org.apache.catalina.tribes.ChannelListener; -import org.apache.catalina.tribes.ChannelMessage; -import org.apache.catalina.util.StringManager; import java.io.Serializable; + +import org.apache.catalina.tribes.ChannelListener; import org.apache.catalina.tribes.Member; +import org.apache.catalina.util.StringManager; /** Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-listener.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-listener.xml?view=diff&rev=463790&r1=463789&r2=463790 ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-listener.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-listener.xml Fri Oct 13 12:23:54 2006 @@ -15,11 +15,26 @@ <section name="Introduction"> - - + <p> + The <code>org.apache.catalina.ha.ClusterListener</code> base class + lets you listen in on messages that are received by the <code>Cluster</code> component. + </p> </section> - +<section name="org.apache.catalina.ha.session.ClusterSessionListener"> + <p> + When using the DeltaManager, the messages are received by the Cluster object and are propagated to the + to the manager through this listener. + </p> +</section> +<section name="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"> + <p> + Listens for session Id changes. This listener is only used if you are using mod_jk + along with the <code>jvmRoute</code> attribute where the session Id can change. + In the event of a change, the <code>JvmRouteBinderValve</code> will broadcast the + session change and it will get picked up by this listener. + </p> +</section> <section name="Attributes"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]