org.jboss.ejb3.service
Class ServiceSessionContextImpl
java.lang.Object
org.jboss.ejb3.EJBContextImpl<ServiceContainer,ServiceBeanContext>
org.jboss.ejb3.service.ServiceSessionContextImpl
- All Implemented Interfaces:
- javax.ejb.EJBContext, javax.ejb.SessionContext
public class ServiceSessionContextImpl
- extends EJBContextImpl<ServiceContainer,ServiceBeanContext>
- implements org.jboss.ejb3.context.spi.SessionContext
| Methods inherited from class org.jboss.ejb3.EJBContextImpl |
getCallerIdentity, getCallerPrincipal, getContainer, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getRm, getRollbackOnly, getTarget, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.ejb3.context.spi.EJBContext |
getContextData, getTarget |
| Methods inherited from interface javax.ejb.EJBContext |
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly |
ServiceSessionContextImpl
protected ServiceSessionContextImpl(ServiceBeanContext beanContext)
- Parameters:
beanContext -
getBusinessObject
public <T> T getBusinessObject(java.lang.Class<T> businessInterface)
throws java.lang.IllegalStateException
- Specified by:
getBusinessObject in interface javax.ejb.SessionContext
- Throws:
java.lang.IllegalStateException
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
getInvokedBusinessInterface
public java.lang.Class<?> getInvokedBusinessInterface()
throws java.lang.IllegalStateException
- Specified by:
getInvokedBusinessInterface in interface javax.ejb.SessionContext
- Throws:
java.lang.IllegalStateException
getManager
public org.jboss.ejb3.context.spi.SessionBeanManager getManager()
- Overrides:
getManager in class EJBContextImpl<ServiceContainer,ServiceBeanContext>
getMessageContext
public javax.xml.rpc.handler.MessageContext getMessageContext()
throws java.lang.IllegalStateException
- Specified by:
getMessageContext in interface javax.ejb.SessionContext
- Throws:
java.lang.IllegalStateException
wasCancelCalled
public boolean wasCancelCalled()
throws java.lang.IllegalStateException
- Specified by:
wasCancelCalled in interface javax.ejb.SessionContext
- Throws:
java.lang.IllegalStateException