org.apache.geronimo.clustering.wadi
Class BasicWADISessionManager
java.lang.Object
org.apache.geronimo.clustering.wadi.BasicWADISessionManager
- All Implemented Interfaces:
- org.apache.geronimo.clustering.SessionManager, WADISessionManager, org.apache.geronimo.gbean.GBeanLifecycle
public class BasicWADISessionManager
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.clustering.SessionManager, WADISessionManager
Constructor Summary |
BasicWADISessionManager(WADISessionManagerConfigInfo configInfo,
org.codehaus.wadi.replication.manager.ReplicationManagerFactory repManagerFactory,
org.codehaus.wadi.replication.storage.ReplicaStorageFactory repStorageFactory,
org.codehaus.wadi.replication.strategy.BackingStrategyFactory backingStrategyFactory,
DispatcherHolder dispatcherHolder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
GBEAN_ATTR_WADI_CONFIG_INFO
public static final String GBEAN_ATTR_WADI_CONFIG_INFO
- See Also:
- Constant Field Values
GBEAN_REF_REPLICATION_MANAGER_FACTORY
public static final String GBEAN_REF_REPLICATION_MANAGER_FACTORY
- See Also:
- Constant Field Values
GBEAN_REF_REPLICA_STORAGE_FACTORY
public static final String GBEAN_REF_REPLICA_STORAGE_FACTORY
- See Also:
- Constant Field Values
GBEAN_REF_BACKING_STRATEGY_FACTORY
public static final String GBEAN_REF_BACKING_STRATEGY_FACTORY
- See Also:
- Constant Field Values
GBEAN_REF_DISPATCHER_HOLDER
public static final String GBEAN_REF_DISPATCHER_HOLDER
- See Also:
- Constant Field Values
BasicWADISessionManager
public BasicWADISessionManager(WADISessionManagerConfigInfo configInfo,
org.codehaus.wadi.replication.manager.ReplicationManagerFactory repManagerFactory,
org.codehaus.wadi.replication.storage.ReplicaStorageFactory repStorageFactory,
org.codehaus.wadi.replication.strategy.BackingStrategyFactory backingStrategyFactory,
DispatcherHolder dispatcherHolder)
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
createSession
public org.apache.geronimo.clustering.Session createSession(String sessionId)
throws org.apache.geronimo.clustering.SessionAlreadyExistException
- Specified by:
createSession
in interface org.apache.geronimo.clustering.SessionManager
- Throws:
org.apache.geronimo.clustering.SessionAlreadyExistException
getManager
public org.codehaus.wadi.impl.ClusteredManager getManager()
- Specified by:
getManager
in interface WADISessionManager
getNode
public org.apache.geronimo.clustering.Node getNode()
- Specified by:
getNode
in interface org.apache.geronimo.clustering.SessionManager
registerListener
public void registerListener(org.apache.geronimo.clustering.SessionListener listener)
- Specified by:
registerListener
in interface org.apache.geronimo.clustering.SessionManager
unregisterListener
public void unregisterListener(org.apache.geronimo.clustering.SessionListener listener)
- Specified by:
unregisterListener
in interface org.apache.geronimo.clustering.SessionManager
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.