Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » [javadoc | source]
org.jboss.ejb
public class: StatefulSessionContainer [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.ejb.Container
            org.jboss.ejb.SessionContainer
               org.jboss.ejb.StatefulSessionContainer

All Implemented Interfaces:
    InstancePoolContainer, EJBProxyFactoryContainer, ContainerMBean, AllowedOperationsFlags, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

The container for stateful session beans.
Nested Class Summary:
class  StatefulSessionContainer.ContainerInterceptor  This is the last step before invocation - all interceptors are done 
Field Summary
protected  StatefulSessionPersistenceManager persistenceManager    This is the persistence manager for this container 
protected  InstanceCache instanceCache    The instance cache. 
protected  Method getEJBObject     
protected  Method ejbObjectRemove     
protected  Method ejbLocalObjectRemove     
Fields inherited from org.jboss.ejb.SessionContainer:
homeMapping,  beanMapping,  interceptor,  serviceEndpoint,  instancePool
Fields inherited from org.jboss.ejb.Container:
BASE_EJB_CONTAINER_NAME,  ORB_NAME,  EJB_CONTAINER_QUERY_NAME,  EJBOBJECT_REMOVE,  EJB_TIMEOUT,  ejbModule,  classLoader,  webClassLoader,  metaData,  beanClass,  homeInterface,  remoteInterface,  localHomeInterface,  localInterface,  tm,  securityContextClassName,  defaultSecurityDomain,  securityManagement,  policyRegistration,  sm,  rm,  securityProxy,  lockManager,  localProxyFactory,  marshalledInvocationMapping,  proxyFactories,  proxyFactoryTL,  createCount,  removeCount,  invokeStats,  jaccContextID,  isJaccEnabled,  timerService
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Method from org.jboss.ejb.StatefulSessionContainer Summary:
createContainerInterceptor,   createHome,   createInstanceCache,   createLocalHome,   createPersistenceManager,   createService,   destroyInstanceCache,   destroyPersistenceManager,   getEJBObject,   getInstanceCache,   getMethodPermissions,   getPersistenceManager,   remove,   removeHome,   removeLocalHome,   setInstanceCache,   setPersistenceManager,   setupHomeMapping,   startInstanceCache,   startPersistenceManager,   stopInstanceCache,   stopPersistenceManager
Methods from org.jboss.ejb.SessionContainer:
addInterceptor,   checkCoherency,   createInstanceCache,   createInstancePool,   createInterceptors,   createInvokers,   createPersistenceManager,   createService,   destroyInstanceCache,   destroyInstancePool,   destroyInterceptors,   destroyInvokers,   destroyMarshalledInvocationMapping,   destroyPersistenceManager,   destroyService,   getBeanMapping,   getEJBHome,   getEJBLocalHome,   getEJBMetaDataHome,   getEJBMetaDataHome,   getHandle,   getHomeHandleHome,   getHomeHandleHome,   getHomeMapping,   getInstancePool,   getInterceptor,   getLocalProxyFactory,   getPrimaryKey,   getPrimaryKey,   getServiceEndpoint,   internalInvoke,   internalInvokeHome,   isIdentical,   setInstancePool,   setUpBeanMappingImpl,   setupBeanMapping,   setupHomeMapping,   setupMarshalledInvocationMapping,   startInstanceCache,   startInstancePool,   startInterceptors,   startInvokers,   startPersistenceManager,   startService,   stopInstanceCache,   stopInstancePool,   stopInterceptors,   stopInvokers,   stopPersistenceManager,   stopService
Methods from org.jboss.ejb.Container:
addInterceptor,   addProxyFactory,   cleanENC,   createBeanClassInstance,   createContainerInterceptor,   createService,   destroyService,   getBeanClass,   getBeanMetaData,   getClassLoader,   getCreateCount,   getDefaultSecurityDomain,   getDeploymentInfo,   getDeploymentUnit,   getEjbModule,   getEnvContext,   getHomeClass,   getInvokeStats,   getJaccContextID,   getJmxName,   getLocalClass,   getLocalHomeClass,   getLockManager,   getMessageDestination,   getMethodPermissions,   getPolicyRegistration,   getProxyFactory,   getRealmMapping,   getRemoteClass,   getRemoveCount,   getSecurityContextClassName,   getSecurityManagement,   getSecurityManager,   getSecurityProxy,   getTimerService,   getTimerService,   getTransactionManager,   getWebClassLoader,   internalInvoke,   internalInvokeHome,   invoke,   isCallByValue,   isJaccEnabled,   lookupProxyFactory,   popENC,   pushENC,   removeTimerService,   restoreTimers,   setBeanMetaData,   setClassLoader,   setDefaultSecurityDomain,   setDeploymentInfo,   setDeploymentUnit,   setEjbModule,   setJaccContextID,   setJaccEnabled,   setLockManager,   setPolicyRegistration,   setProxyFactory,   setRealmMapping,   setSecurityContextClassName,   setSecurityManagement,   setSecurityManager,   setSecurityProxy,   setTimerService,   setTransactionManager,   setWebClassLoader,   startService,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   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,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.StatefulSessionContainer Detail:
 protected Interceptor createContainerInterceptor() 
 public EJBObject createHome(Invocation mi) throws Exception 
 protected  void createInstanceCache() throws Exception 
    creates and registers the instance cache
 public EJBLocalObject createLocalHome(Invocation mi) throws Exception 
 protected  void createPersistenceManager() throws Exception 
    create persistence manager
 protected  void createService() throws Exception 
 protected  void destroyInstanceCache() 
 protected  void destroyPersistenceManager() 
 public EJBObject getEJBObject(Invocation mi) throws RemoteException 
    A method for the getEJBObject from the handle
 public InstanceCache getInstanceCache() 
 public 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.
 public StatefulSessionPersistenceManager getPersistenceManager() 
 public  void remove(Invocation mi) throws RemoveException, RemoteException 
 public  void removeHome(Invocation mi) throws RemoveException, RemoteException 
 public  void removeLocalHome(Invocation mi) throws RemoveException, RemoteException 
 public  void setInstanceCache(InstanceCache ic) 
 public  void setPersistenceManager(StatefulSessionPersistenceManager pm) 
 protected  void setupHomeMapping() throws Exception 
 protected  void startInstanceCache() throws Exception 
    Start instance cache
 protected  void startPersistenceManager() throws Exception 
    Start persistence
 protected  void stopInstanceCache() 
    Stop instance cache
 protected  void stopPersistenceManager() 
    Stop persistence