Package org.jboss.as.ejb3.context
Class SessionContextImpl
java.lang.Object
org.jboss.as.ejb3.context.EJBContextImpl
org.jboss.as.ejb3.context.SessionContextImpl
- All Implemented Interfaces:
jakarta.ejb.EJBContext,jakarta.ejb.SessionContext,Serializable
Implementation of the SessionContext interface.
- Author:
- Carlo de Wolf
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TgetBusinessObject(Class<T> businessInterface) jakarta.ejb.EJBLocalObjectjakarta.ejb.EJBObjectClass<?>booleanjakarta.ejb.TimerServicejakarta.transaction.UserTransactionvoidbooleanMethods inherited from class org.jboss.as.ejb3.context.EJBContextImpl
getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getTarget, isCallerInRole, lookupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.ejb.EJBContext
getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, isCallerInRole, lookup
-
Constructor Details
-
SessionContextImpl
-
-
Method Details
-
getBusinessObject
- Specified by:
getBusinessObjectin interfacejakarta.ejb.SessionContext- Throws:
IllegalStateException
-
getEJBLocalObject
- Specified by:
getEJBLocalObjectin interfacejakarta.ejb.SessionContext- Throws:
IllegalStateException
-
getEJBObject
- Specified by:
getEJBObjectin interfacejakarta.ejb.SessionContext- Throws:
IllegalStateException
-
getInvokedBusinessInterface
- Specified by:
getInvokedBusinessInterfacein interfacejakarta.ejb.SessionContext- Throws:
IllegalStateException
-
getComponent
- Overrides:
getComponentin classEJBContextImpl
-
wasCancelCalled
- Specified by:
wasCancelCalledin interfacejakarta.ejb.SessionContext- Throws:
IllegalStateException
-
getTimerService
- Specified by:
getTimerServicein interfacejakarta.ejb.EJBContext- Overrides:
getTimerServicein classEJBContextImpl- Throws:
IllegalStateException
-
getUserTransaction
- Specified by:
getUserTransactionin interfacejakarta.ejb.EJBContext- Overrides:
getUserTransactionin classEJBContextImpl- Throws:
IllegalStateException
-
setRollbackOnly
- Specified by:
setRollbackOnlyin interfacejakarta.ejb.EJBContext- Overrides:
setRollbackOnlyin classEJBContextImpl- Throws:
IllegalStateException
-
getRollbackOnly
- Specified by:
getRollbackOnlyin interfacejakarta.ejb.EJBContext- Overrides:
getRollbackOnlyin classEJBContextImpl- Throws:
IllegalStateException
-