org.apache.openejb.core
Class BaseSessionContext
java.lang.Object
org.apache.openejb.core.BaseContext
org.apache.openejb.core.BaseSessionContext
- All Implemented Interfaces:
- java.io.Serializable, javax.ejb.EJBContext, javax.ejb.SessionContext
- Direct Known Subclasses:
- ManagedContext, SingletonContext, StatefulContext, StatelessContext
public abstract class BaseSessionContext
- extends BaseContext
- implements javax.ejb.SessionContext
- Version:
- $Rev: 883025 $ $Date: 2009-11-22 02:03:58 +0100 (So, 22. Nov 2009) $
- See Also:
- Serialized Form
Methods inherited from class org.apache.openejb.core.BaseContext |
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getState, getStates, 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 |
BaseSessionContext
protected BaseSessionContext(SecurityService securityService)
BaseSessionContext
public BaseSessionContext(SecurityService securityService,
javax.transaction.UserTransaction userTransaction)
getEJBLocalObject
public javax.ejb.EJBLocalObject getEJBLocalObject()
throws java.lang.IllegalStateException
- Specified by:
getEJBLocalObject
in interface javax.ejb.SessionContext
- Throws:
java.lang.IllegalStateException
getEJBObject
public javax.ejb.EJBObject getEJBObject()
throws java.lang.IllegalStateException
- Specified by:
getEJBObject
in interface javax.ejb.SessionContext
- Throws:
java.lang.IllegalStateException
getMessageContext
public javax.xml.rpc.handler.MessageContext getMessageContext()
throws java.lang.IllegalStateException
- Specified by:
getMessageContext
in interface javax.ejb.SessionContext
- Throws:
java.lang.IllegalStateException
getBusinessObject
public java.lang.Object getBusinessObject(java.lang.Class aClass)
- Specified by:
getBusinessObject
in interface javax.ejb.SessionContext
getInvokedBusinessInterface
public java.lang.Class getInvokedBusinessInterface()
- Specified by:
getInvokedBusinessInterface
in interface javax.ejb.SessionContext
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.