org.jboss.ejb.plugins
Class StatefulHASessionPersistenceManager
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.plugins.StatefulHASessionPersistenceManager
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, AllowedOperationsFlags, ContainerPlugin, HAPersistentManager, StatefulSessionPersistenceManager, HASessionState.HASessionStateListener, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean
public class StatefulHASessionPersistenceManager
- extends ServiceMBeanSupport
- implements StatefulSessionPersistenceManager, HASessionState.HASessionStateListener, HAPersistentManager
This persistence manager work with an underlying HASessionState to get
clustered state.
- Version:
- $Revision: 81001 $
Revisions:
- Author:
- Sacha Labourey, Jason Dillon
- See Also:
HASessionState
,
HASessionStateImpl
Fields inherited from interface org.jboss.ejb.AllowedOperationsFlags |
IN_AFTER_BEGIN, IN_AFTER_COMPLETION, IN_BEFORE_COMPLETION, IN_BUSINESS_METHOD, IN_EJB_ACTIVATE, IN_EJB_CREATE, IN_EJB_FIND, IN_EJB_HOME, IN_EJB_LOAD, IN_EJB_PASSIVATE, IN_EJB_POST_CREATE, IN_EJB_REMOVE, IN_EJB_STORE, IN_EJB_TIMEOUT, IN_INTERCEPTOR_METHOD, IN_SERVICE_ENDPOINT_METHOD, IN_SET_ENTITY_CONTEXT, IN_SET_MESSAGE_DRIVEN_CONTEXT, IN_SET_SESSION_CONTEXT, IN_UNSET_ENTITY_CONTEXT, NOT_ALLOWED |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatefulHASessionPersistenceManager
public StatefulHASessionPersistenceManager()
- Creates new StatefulHASessionPersistenceManager
setContainer
public void setContainer(Container c)
- Specified by:
setContainer
in interface ContainerPlugin
createService
protected void createService()
throws Exception
- Overrides:
createService
in class ServiceMBeanSupport
- Throws:
Exception
stopService
protected void stopService()
- Overrides:
stopService
in class ServiceMBeanSupport
createId
public Object createId(StatefulSessionEnterpriseContext ctx)
throws Exception
- Specified by:
createId
in interface StatefulSessionPersistenceManager
- Throws:
Exception
createdSession
public void createdSession(StatefulSessionEnterpriseContext ctx)
throws Exception
- Specified by:
createdSession
in interface StatefulSessionPersistenceManager
- Throws:
Exception
activateSession
public void activateSession(StatefulSessionEnterpriseContext ctx)
throws RemoteException
- Specified by:
activateSession
in interface StatefulSessionPersistenceManager
- Throws:
RemoteException
passivateSession
public void passivateSession(StatefulSessionEnterpriseContext ctx)
throws RemoteException
- Specified by:
passivateSession
in interface StatefulSessionPersistenceManager
- Throws:
RemoteException
synchroSession
public void synchroSession(StatefulSessionEnterpriseContext ctx)
throws RemoteException
- Specified by:
synchroSession
in interface HAPersistentManager
- Throws:
RemoteException
removeSession
public void removeSession(StatefulSessionEnterpriseContext ctx)
throws RemoteException,
javax.ejb.RemoveException
- Specified by:
removeSession
in interface StatefulSessionPersistenceManager
- Throws:
RemoteException
javax.ejb.RemoveException
removePassivated
public void removePassivated(Object key)
- Specified by:
removePassivated
in interface StatefulSessionPersistenceManager
sessionExternallyModified
public void sessionExternallyModified(PackagedSession session)
- Specified by:
sessionExternallyModified
in interface HASessionState.HASessionStateListener
newSessionStateTopology
public void newSessionStateTopology(org.jboss.ha.framework.interfaces.HAPartition haSubPartition)
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.