public abstract class BaseSessionContext extends BaseContext implements javax.ejb.SessionContext
BaseContext.Call, BaseContext.State, BaseContext.UserTransactionWrappersecurityService, userTransaction| Modifier | Constructor and Description |
|---|---|
protected |
BaseSessionContext(SecurityService securityService) |
|
BaseSessionContext(SecurityService securityService,
UserTransaction userTransaction) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getBusinessObject(Class interfce) |
javax.ejb.EJBLocalObject |
getEJBLocalObject() |
javax.ejb.EJBObject |
getEJBObject() |
Class |
getInvokedBusinessInterface() |
javax.xml.rpc.handler.MessageContext |
getMessageContext() |
boolean |
wasCancelCalled() |
check, getCallerIdentity, getCallerPrincipal, getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, getUserTransaction, illegal, isCallerInRole, isCallerInRole, isCallerInRole, isTimerMethodAllowed, isUserTransactionAccessAllowed, lookup, setRollbackOnly, writeReplaceprotected BaseSessionContext(SecurityService securityService)
public BaseSessionContext(SecurityService securityService, UserTransaction userTransaction)
public boolean wasCancelCalled()
wasCancelCalled in interface javax.ejb.SessionContextpublic javax.ejb.EJBLocalObject getEJBLocalObject()
throws IllegalStateException
getEJBLocalObject in interface javax.ejb.SessionContextIllegalStateExceptionpublic javax.ejb.EJBObject getEJBObject()
throws IllegalStateException
getEJBObject in interface javax.ejb.SessionContextIllegalStateExceptionpublic javax.xml.rpc.handler.MessageContext getMessageContext() throws IllegalStateException
getMessageContext in interface javax.ejb.SessionContextIllegalStateExceptionpublic Object getBusinessObject(Class interfce)
getBusinessObject in interface javax.ejb.SessionContextpublic Class getInvokedBusinessInterface()
getInvokedBusinessInterface in interface javax.ejb.SessionContextCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.