|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.ejb.Container (src)
org.jboss.ejb.SessionContainer (src)
org.jboss.ejb.StatefulSessionContainer
The container for stateful session beans.
Nested Class Summary |
Nested classes inherited from class org.jboss.ejb.Container (src) |
Container.AbstractContainerInterceptor (src) |
Field Summary | |
protected java.lang.reflect.Method |
getEJBObject
|
protected InstanceCache (src) |
instanceCache
The instance cache. |
protected StatefulSessionPersistenceManager (src) |
persistenceManager
This is the persistence manager for this container |
Fields inherited from class org.jboss.ejb.SessionContainer (src) |
beanMapping, homeMapping, instancePool, interceptor, serviceEndpoint |
Fields inherited from class org.jboss.ejb.Container (src) |
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 (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
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 (src) |
createContainerInterceptor()
|
EJBObject (src) |
createHome(Invocation (src) mi)
|
protected void |
createInstanceCache()
creates and registers the instance cache |
EJBLocalObject (src) |
createLocalHome(Invocation (src) mi)
|
protected void |
createPersistenceManager()
create persistence manager |
protected void |
createService()
The EJBDeployer calls this method. |
protected void |
destroyInstanceCache()
|
protected void |
destroyPersistenceManager()
|
EJBObject (src) |
getEJBObject(Invocation (src) mi)
A method for the getEJBObject from the handle |
InstanceCache (src) |
getInstanceCache()
|
java.util.Set |
getMethodPermissions(java.lang.reflect.Method m,
InvocationType (src) 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 (src) |
getPersistenceManager()
|
void |
remove(Invocation (src) mi)
|
void |
removeHome(Invocation (src) mi)
|
void |
removeLocalHome(Invocation (src) mi)
|
void |
setInstanceCache(InstanceCache (src) ic)
|
void |
setPersistenceManager(StatefulSessionPersistenceManager (src) 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 (src) |
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 (src) |
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 (src) |
getHomeClass, getLocalClass, getLocalHomeClass, getLocalProxyFactory, getProxyFactory, getRemoteClass |
Methods inherited from interface org.jboss.ejb.InstancePoolContainer (src) |
getInstancePool |
Field Detail |
protected StatefulSessionPersistenceManager (src) persistenceManager
protected InstanceCache (src) instanceCache
protected java.lang.reflect.Method getEJBObject
Constructor Detail |
public StatefulSessionContainer()
Method Detail |
public void setInstanceCache(InstanceCache (src) ic)
public InstanceCache (src) getInstanceCache()
public StatefulSessionPersistenceManager (src) getPersistenceManager()
public void setPersistenceManager(StatefulSessionPersistenceManager (src) pm)
public java.util.Set getMethodPermissions(java.lang.reflect.Method m, InvocationType (src) iface)
getMethodPermissions
in class Container (src)
m
- iface
-
protected void createService() throws java.lang.Exception
Container (src)
createService
in class SessionContainer (src)
java.lang.Exception
protected void createInstanceCache() throws java.lang.Exception
createInstanceCache
in class SessionContainer (src)
java.lang.Exception
protected void createPersistenceManager() throws java.lang.Exception
createPersistenceManager
in class SessionContainer (src)
java.lang.Exception
protected void startPersistenceManager() throws java.lang.Exception
startPersistenceManager
in class SessionContainer (src)
java.lang.Exception
protected void startInstanceCache() throws java.lang.Exception
startInstanceCache
in class SessionContainer (src)
java.lang.Exception
protected void stopPersistenceManager()
stopPersistenceManager
in class SessionContainer (src)
protected void stopInstanceCache()
stopInstanceCache
in class SessionContainer (src)
protected void destroyPersistenceManager()
destroyPersistenceManager
in class SessionContainer (src)
protected void destroyInstanceCache()
destroyInstanceCache
in class SessionContainer (src)
public void remove(Invocation (src) mi) throws java.rmi.RemoteException, RemoveException (src)
java.rmi.RemoteException
RemoveException (src)
public EJBObject (src) createHome(Invocation (src) mi) throws java.lang.Exception
java.lang.Exception
public void removeLocalHome(Invocation (src) mi) throws java.rmi.RemoteException, RemoveException (src)
java.lang.Error
- Not yet implemented
java.rmi.RemoteException
RemoveException (src)
public EJBLocalObject (src) createLocalHome(Invocation (src) mi) throws java.lang.Exception
java.lang.Exception
public EJBObject (src) getEJBObject(Invocation (src) mi) throws java.rmi.RemoteException
java.rmi.RemoteException
public void removeHome(Invocation (src) mi) throws java.rmi.RemoteException, RemoveException (src)
java.lang.Error
- Not yet implemented
java.rmi.RemoteException
RemoveException (src)
protected void setupHomeMapping() throws java.lang.Exception
SessionContainer (src)
setupHomeMapping
in class SessionContainer (src)
java.lang.Exception
protected Interceptor (src) createContainerInterceptor()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |