public class SessionContextImpl extends EJBContextImpl implements javax.ejb.SessionContext
| Constructor and Description |
|---|
SessionContextImpl(SessionBeanComponentInstance instance) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getBusinessObject(Class<T> businessInterface) |
SessionBeanComponent |
getComponent() |
javax.ejb.EJBLocalObject |
getEJBLocalObject() |
javax.ejb.EJBObject |
getEJBObject() |
Class<?> |
getInvokedBusinessInterface() |
javax.xml.rpc.handler.MessageContext |
getMessageContext() |
boolean |
getRollbackOnly() |
javax.ejb.TimerService |
getTimerService() |
UserTransaction |
getUserTransaction() |
void |
setRollbackOnly() |
boolean |
wasCancelCalled() |
getCallerIdentity, getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getTarget, isCallerInRole, isCallerInRole, lookuppublic SessionContextImpl(SessionBeanComponentInstance instance)
public <T> T getBusinessObject(Class<T> businessInterface) throws IllegalStateException
getBusinessObject in interface javax.ejb.SessionContextIllegalStateExceptionpublic javax.ejb.EJBLocalObject getEJBLocalObject()
throws IllegalStateException
getEJBLocalObject in interface javax.ejb.SessionContextIllegalStateExceptionpublic javax.ejb.EJBObject getEJBObject()
throws IllegalStateException
getEJBObject in interface javax.ejb.SessionContextIllegalStateExceptionpublic Class<?> getInvokedBusinessInterface() throws IllegalStateException
getInvokedBusinessInterface in interface javax.ejb.SessionContextIllegalStateExceptionpublic SessionBeanComponent getComponent()
getComponent in class EJBContextImplpublic javax.xml.rpc.handler.MessageContext getMessageContext() throws IllegalStateException
getMessageContext in interface javax.ejb.SessionContextIllegalStateExceptionpublic boolean wasCancelCalled()
throws IllegalStateException
wasCancelCalled in interface javax.ejb.SessionContextIllegalStateExceptionpublic javax.ejb.TimerService getTimerService()
throws IllegalStateException
getTimerService in interface javax.ejb.EJBContextgetTimerService in class EJBContextImplIllegalStateExceptionpublic UserTransaction getUserTransaction() throws IllegalStateException
getUserTransaction in interface javax.ejb.EJBContextgetUserTransaction in class EJBContextImplIllegalStateExceptionpublic void setRollbackOnly()
throws IllegalStateException
setRollbackOnly in interface javax.ejb.EJBContextsetRollbackOnly in class EJBContextImplIllegalStateExceptionpublic boolean getRollbackOnly()
throws IllegalStateException
getRollbackOnly in interface javax.ejb.EJBContextgetRollbackOnly in class EJBContextImplIllegalStateExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.