|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.Container
org.jboss.ejb.SessionContainer
org.jboss.ejb.StatefulSessionContainer
The container for stateful session beans.
| Nested Class Summary |
| Nested classes inherited from class org.jboss.ejb.Container |
Container.AbstractContainerInterceptor |
| Field Summary | |
protected Method |
getEJBObject
|
protected InstanceCache |
instanceCache
The instance cache. |
protected StatefulSessionPersistenceManager |
persistenceManager
This is the persistence manager for this container |
| Fields inherited from class org.jboss.ejb.SessionContainer |
beanMapping, homeMapping, instancePool, interceptor, serviceEndpoint |
| Fields inherited from class org.jboss.ejb.Container |
BASE_EJB_CONTAINER_NAME, beanClass, classLoader, createCount, EJB_CONTAINER_QUERY_NAME, EJB_TIMEOUT, ejbModule, EJBOBJECT_REMOVE, homeInterface, invokeStats, jaccContextID, localClassLoader, localHomeInterface, localInterface, localProxyFactory, lockManager, marshalledInvocationMapping, metaData, ORB_NAME, proxyFactories, proxyFactoryTL, remoteInterface, removeCount, rm, securityProxy, sm, tm, webClassLoader |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| 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 |
| Constructor Summary | |
StatefulSessionContainer()
|
|
| Method Summary | |
protected Interceptor |
createContainerInterceptor()
|
javax.ejb.EJBObject |
createHome(Invocation mi)
|
protected void |
createInstanceCache()
creates and registers the instance cache |
javax.ejb.EJBLocalObject |
createLocalHome(Invocation mi)
|
protected void |
createPersistenceManager()
create persistence manager |
protected void |
createService()
The EJBDeployer calls this method. |
protected void |
destroyInstanceCache()
|
protected void |
destroyPersistenceManager()
|
javax.ejb.EJBObject |
getEJBObject(Invocation mi)
A method for the getEJBObject from the handle |
InstanceCache |
getInstanceCache()
|
Set |
getMethodPermissions(Method m,
InvocationType iface)
Override getMethodPermissions to work around the fact that stateful session handles obtain their ejb objects by doing an invocation on the container as a home method invocation using the Handle.getEJBObject method. |
StatefulSessionPersistenceManager |
getPersistenceManager()
|
void |
remove(Invocation mi)
|
void |
removeHome(Invocation mi)
|
void |
removeLocalHome(Invocation mi)
|
void |
setInstanceCache(InstanceCache ic)
|
void |
setPersistenceManager(StatefulSessionPersistenceManager pm)
|
protected void |
setupHomeMapping()
how home methods are treated by container |
protected void |
startInstanceCache()
Start instance cache |
protected void |
startPersistenceManager()
Start persistence |
protected void |
stopInstanceCache()
Stop instance cache |
protected void |
stopPersistenceManager()
Stop persistence |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.ejb.EJBProxyFactoryContainer |
getHomeClass, getLocalClass, getLocalHomeClass, getLocalProxyFactory, getProxyFactory, getRemoteClass |
| Methods inherited from interface org.jboss.ejb.InstancePoolContainer |
getInstancePool |
| Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
| Field Detail |
protected StatefulSessionPersistenceManager persistenceManager
protected InstanceCache instanceCache
protected Method getEJBObject
| Constructor Detail |
public StatefulSessionContainer()
| Method Detail |
public void setInstanceCache(InstanceCache ic)
public InstanceCache getInstanceCache()
public StatefulSessionPersistenceManager getPersistenceManager()
public void setPersistenceManager(StatefulSessionPersistenceManager pm)
public Set getMethodPermissions(Method m,
InvocationType iface)
getMethodPermissions in class Containerm - iface -
protected void createService()
throws Exception
Container
createService in class SessionContainerException
protected void createInstanceCache()
throws Exception
createInstanceCache in class SessionContainerException
protected void createPersistenceManager()
throws Exception
createPersistenceManager in class SessionContainerException
protected void startPersistenceManager()
throws Exception
startPersistenceManager in class SessionContainerException
protected void startInstanceCache()
throws Exception
startInstanceCache in class SessionContainerExceptionprotected void stopPersistenceManager()
stopPersistenceManager in class SessionContainerprotected void stopInstanceCache()
stopInstanceCache in class SessionContainerprotected void destroyPersistenceManager()
destroyPersistenceManager in class SessionContainerprotected void destroyInstanceCache()
destroyInstanceCache in class SessionContainer
public void remove(Invocation mi)
throws RemoteException,
javax.ejb.RemoveException
RemoteException
javax.ejb.RemoveException
public javax.ejb.EJBObject createHome(Invocation mi)
throws Exception
Exception
public void removeLocalHome(Invocation mi)
throws RemoteException,
javax.ejb.RemoveException
Error - Not yet implemented
RemoteException
javax.ejb.RemoveException
public javax.ejb.EJBLocalObject createLocalHome(Invocation mi)
throws Exception
Exception
public javax.ejb.EJBObject getEJBObject(Invocation mi)
throws RemoteException
RemoteException
public void removeHome(Invocation mi)
throws RemoteException,
javax.ejb.RemoveException
Error - Not yet implemented
RemoteException
javax.ejb.RemoveException
protected void setupHomeMapping()
throws Exception
SessionContainer
setupHomeMapping in class SessionContainerExceptionprotected Interceptor createContainerInterceptor()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||