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:
Serializable, javax.ejb.EJBContext, javax.ejb.SessionContext

public class StatefulContext
extends BaseSessionContext

Version:
$Rev: 1153797 $ $Date: 2011-08-04 09:09:44 +0000 (Thu, 04 Aug 2011) $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openejb.core.BaseContext
BaseContext.Call, BaseContext.State, BaseContext.UserTransactionWrapper
 
Field Summary
 
Fields inherited from class org.apache.openejb.core.BaseContext
securityService, userTransaction
 
Constructor Summary
StatefulContext(SecurityService securityService, UserTransaction userTransaction)
           
 
Method Summary
 void check(BaseContext.Call call)
           
 javax.xml.rpc.handler.MessageContext getMessageContext()
           
 
Methods inherited from class org.apache.openejb.core.BaseSessionContext
getBusinessObject, getEJBLocalObject, getEJBObject, getInvokedBusinessInterface, wasCancelCalled
 
Methods inherited from class org.apache.openejb.core.BaseContext
getCallerIdentity, getCallerPrincipal, getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, getUserTransaction, illegal, isCallerInRole, isCallerInRole, isCallerInRole, 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, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Constructor Detail

StatefulContext

public StatefulContext(SecurityService securityService,
                       UserTransaction userTransaction)
Method Detail

check

public void check(BaseContext.Call call)
Specified by:
check in class BaseContext

getMessageContext

public javax.xml.rpc.handler.MessageContext getMessageContext()
                                                       throws IllegalStateException
Specified by:
getMessageContext in interface javax.ejb.SessionContext
Overrides:
getMessageContext in class BaseSessionContext
Throws:
IllegalStateException


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.