org.apache.openejb.core.stateful
Class StatefulContext

java.lang.Object
  extended by org.apache.openejb.core.BaseContext
      extended by org.apache.openejb.core.BaseSessionContext
          extended by org.apache.openejb.core.stateful.StatefulContext
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EJBContext, javax.ejb.SessionContext

public class StatefulContext
extends BaseSessionContext

Version:
$Rev: 688602 $ $Date: 2008-08-25 04:39:06 +0200 (Mo, 25. Aug 2008) $
See Also:
Serialized Form

Nested Class Summary
static class StatefulContext.AfterCompletion
          afterCompletion
static class StatefulContext.BeforeCompletion
          afterBegin beforeCompletion
static class StatefulContext.LifecycleStatefulSessionState
          PostConstruct, Pre-Destroy lifecycle callback interceptor methods
 
Nested classes/interfaces inherited from class org.apache.openejb.core.BaseSessionContext
BaseSessionContext.BusinessSessionState, BaseSessionContext.InjectionSessionState, BaseSessionContext.LifecycleSessionState, BaseSessionContext.PostConstructSessionState, BaseSessionContext.SessionState, BaseSessionContext.TimeoutSessionState
 
Nested classes/interfaces inherited from class org.apache.openejb.core.BaseContext
BaseContext.State, BaseContext.UserTransactionWrapper
 
Field Summary
protected static BaseContext.State[] states
           
 
Constructor Summary
StatefulContext(SecurityService securityService, javax.transaction.UserTransaction userTransaction)
           
 
Method Summary
protected  BaseContext.State getState()
           
static BaseContext.State[] getStates()
           
 
Methods inherited from class org.apache.openejb.core.BaseSessionContext
getBusinessObject, getEJBLocalObject, getEJBObject, getInvokedBusinessInterface, getMessageContext
 
Methods inherited from class org.apache.openejb.core.BaseContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, isEntityManagerAccessAllowed, isEntityManagerFactoryAccessAllowed, isJNDIAccessAllowed, isMessageContextAccessAllowed, isTimerAccessAllowed, isTimerMethodAllowed, isUserTransactionAccessAllowed, lookup, setRollbackOnly, writeReplace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Field Detail

states

protected static final BaseContext.State[] states
Constructor Detail

StatefulContext

public StatefulContext(SecurityService securityService,
                       javax.transaction.UserTransaction userTransaction)
Method Detail

getStates

public static BaseContext.State[] getStates()

getState

protected BaseContext.State getState()
Specified by:
getState in class BaseContext


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.