|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.cluster.session.JvmRouteSessionIDBinderLifecycleListener
Register new JvmRouteSessionIDBinderListener to receive Session ID changes. add following at your server.xml Host section
<Host >... <Listener className="org.apache.catalina.cluster.session.JvmRouteSessionIDBinderLifecycleListener" /> <Cluster ...> </Host>FIXME add Engine support
Field Summary | |
protected static StringManager |
sm
Deprecated. The string resources for this package. |
Constructor Summary | |
JvmRouteSessionIDBinderLifecycleListener()
Deprecated. |
Method Summary | |
java.lang.String |
getInfo()
Deprecated. Return descriptive information about this Listener implementation and the corresponding version number, in the format <description>/<version> . |
protected javax.management.modelmbean.ModelMBean |
getManagedBean(java.lang.Object object)
Deprecated. Returns the ModelMBean |
protected javax.management.MBeanServer |
getMBeanServer()
Deprecated. |
protected javax.management.ObjectName |
getObjectName(StandardHost host)
Deprecated. |
boolean |
isEnabled()
Deprecated. |
void |
lifecycleEvent(LifecycleEvent event)
Deprecated. Acknowledge the occurrence of the specified event. |
void |
setEnabled(boolean enabled)
Deprecated. |
protected void |
startSessionIDListener(StandardHost host)
Deprecated. start sessionID mover at cluster |
protected void |
stopSessionIDListener(StandardHost host)
Deprecated. stop sessionID binder at cluster |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final StringManager sm
Constructor Detail |
public JvmRouteSessionIDBinderLifecycleListener()
Method Detail |
public void lifecycleEvent(LifecycleEvent event)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredprotected void stopSessionIDListener(StandardHost host)
host
- clustered hostprotected javax.management.ObjectName getObjectName(StandardHost host) throws javax.management.MalformedObjectNameException
host
-
javax.management.MalformedObjectNameException
protected void startSessionIDListener(StandardHost host)
host
- clustered hostprotected javax.management.MBeanServer getMBeanServer() throws java.lang.Exception
java.lang.Exception
protected javax.management.modelmbean.ModelMBean getManagedBean(java.lang.Object object) throws java.lang.Exception
object
- The Object to get the ModelMBean for
java.lang.Exception
- If an error occurs this constructors throws this exceptionpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- The enabled to set.public java.lang.String getInfo()
<description>/<version>
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |