org.openejb.slsb
Class StatelessSessionContext
java.lang.Object
org.openejb.EJBContextImpl
org.openejb.slsb.StatelessSessionContext
- All Implemented Interfaces:
- javax.ejb.EJBContext, javax.ejb.SessionContext
- public class StatelessSessionContext
- extends EJBContextImpl
- implements javax.ejb.SessionContext
Implementation of SessionContext using the State pattern to determine
which methods can be called given the current state of the Session bean.
- Version:
- $Revision: 1.3 $ $Date: 2004/04/06 00:43:07 $
Methods inherited from class org.openejb.EJBContextImpl |
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEJBLocalObject, getEJBObject, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, setRollbackOnly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ejb.SessionContext |
getEJBLocalObject, getEJBObject |
Methods inherited from interface javax.ejb.EJBContext |
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, setRollbackOnly |
INACTIVE
public static final StatelessSessionContext.StatelessSessionContextState INACTIVE
SETSESSIONCONTEXT
public static final StatelessSessionContext.StatelessSessionContextState SETSESSIONCONTEXT
EJBCREATEREMOVE
public static final StatelessSessionContext.StatelessSessionContextState EJBCREATEREMOVE
BIZ_INTERFACE
public static final StatelessSessionContext.StatelessSessionContextState BIZ_INTERFACE
BIZ_WSENDPOINT
public static final StatelessSessionContext.StatelessSessionContextState BIZ_WSENDPOINT
EJBTIMEOUT
public static final StatelessSessionContext.StatelessSessionContextState EJBTIMEOUT
StatelessSessionContext
public StatelessSessionContext(StatelessInstanceContext context,
org.apache.geronimo.transaction.UserTransactionImpl userTransaction)
getMessageContext
public javax.xml.rpc.handler.MessageContext getMessageContext()
throws IllegalStateException
- Specified by:
getMessageContext
in interface javax.ejb.SessionContext
- Throws:
IllegalStateException
Copyright © 1999-2005 OpenEJB. All Rights Reserved.