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, lookup
public SessionContextImpl(SessionBeanComponentInstance instance)
public <T> T getBusinessObject(Class<T> businessInterface) throws IllegalStateException
getBusinessObject
in interface javax.ejb.SessionContext
IllegalStateException
public javax.ejb.EJBLocalObject getEJBLocalObject() throws IllegalStateException
getEJBLocalObject
in interface javax.ejb.SessionContext
IllegalStateException
public javax.ejb.EJBObject getEJBObject() throws IllegalStateException
getEJBObject
in interface javax.ejb.SessionContext
IllegalStateException
public Class<?> getInvokedBusinessInterface() throws IllegalStateException
getInvokedBusinessInterface
in interface javax.ejb.SessionContext
IllegalStateException
public SessionBeanComponent getComponent()
getComponent
in class EJBContextImpl
public javax.xml.rpc.handler.MessageContext getMessageContext() throws IllegalStateException
getMessageContext
in interface javax.ejb.SessionContext
IllegalStateException
public boolean wasCancelCalled() throws IllegalStateException
wasCancelCalled
in interface javax.ejb.SessionContext
IllegalStateException
public javax.ejb.TimerService getTimerService() throws IllegalStateException
getTimerService
in interface javax.ejb.EJBContext
getTimerService
in class EJBContextImpl
IllegalStateException
public UserTransaction getUserTransaction() throws IllegalStateException
getUserTransaction
in interface javax.ejb.EJBContext
getUserTransaction
in class EJBContextImpl
IllegalStateException
public void setRollbackOnly() throws IllegalStateException
setRollbackOnly
in interface javax.ejb.EJBContext
setRollbackOnly
in class EJBContextImpl
IllegalStateException
public boolean getRollbackOnly() throws IllegalStateException
getRollbackOnly
in interface javax.ejb.EJBContext
getRollbackOnly
in class EJBContextImpl
IllegalStateException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.