org.apache.openejb.core
Class BaseSessionContext.InjectionSessionState
java.lang.Object
org.apache.openejb.core.BaseContext.State
org.apache.openejb.core.BaseSessionContext.SessionState
org.apache.openejb.core.BaseSessionContext.InjectionSessionState
- Enclosing class:
- BaseSessionContext
public static class BaseSessionContext.InjectionSessionState
- extends BaseSessionContext.SessionState
Dependency injection methods (e.g., setSessionContext)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSessionContext.InjectionSessionState
public BaseSessionContext.InjectionSessionState()
getEJBLocalObject
public javax.ejb.EJBLocalObject getEJBLocalObject()
throws IllegalStateException
- Overrides:
getEJBLocalObject
in class BaseSessionContext.SessionState
- Throws:
IllegalStateException
getEJBObject
public javax.ejb.EJBObject getEJBObject()
throws IllegalStateException
- Overrides:
getEJBObject
in class BaseSessionContext.SessionState
- Throws:
IllegalStateException
getMessageContext
public javax.xml.rpc.handler.MessageContext getMessageContext()
throws IllegalStateException
- Overrides:
getMessageContext
in class BaseSessionContext.SessionState
- Throws:
IllegalStateException
getBusinessObject
public Object getBusinessObject(Class interfce)
- Overrides:
getBusinessObject
in class BaseSessionContext.SessionState
getInvokedBusinessInterface
public Class getInvokedBusinessInterface()
- Overrides:
getInvokedBusinessInterface
in class BaseSessionContext.SessionState
getCallerPrincipal
public Principal getCallerPrincipal(SecurityService securityService)
- Overrides:
getCallerPrincipal
in class BaseContext.State
isCallerInRole
public boolean isCallerInRole(SecurityService securityService,
String roleName)
- Overrides:
isCallerInRole
in class BaseContext.State
getUserTransaction
public UserTransaction getUserTransaction(UserTransaction userTransaction)
throws IllegalStateException
- Overrides:
getUserTransaction
in class BaseContext.State
- Throws:
IllegalStateException
setRollbackOnly
public void setRollbackOnly(TransactionManager transactionManager)
throws IllegalStateException
- Overrides:
setRollbackOnly
in class BaseContext.State
- Throws:
IllegalStateException
getRollbackOnly
public boolean getRollbackOnly(TransactionManager transactionManager)
throws IllegalStateException
- Overrides:
getRollbackOnly
in class BaseContext.State
- Throws:
IllegalStateException
getTimerService
public javax.ejb.TimerService getTimerService()
throws IllegalStateException
- Overrides:
getTimerService
in class BaseContext.State
- Throws:
IllegalStateException
isUserTransactionAccessAllowed
public boolean isUserTransactionAccessAllowed()
- Overrides:
isUserTransactionAccessAllowed
in class BaseContext.State
isMessageContextAccessAllowed
public boolean isMessageContextAccessAllowed()
- Overrides:
isMessageContextAccessAllowed
in class BaseContext.State
isEntityManagerFactoryAccessAllowed
public boolean isEntityManagerFactoryAccessAllowed()
- Overrides:
isEntityManagerFactoryAccessAllowed
in class BaseContext.State
isEntityManagerAccessAllowed
public boolean isEntityManagerAccessAllowed()
- Overrides:
isEntityManagerAccessAllowed
in class BaseContext.State
isTimerAccessAllowed
public boolean isTimerAccessAllowed()
- Overrides:
isTimerAccessAllowed
in class BaseContext.State
isTimerMethodAllowed
public boolean isTimerMethodAllowed()
- Overrides:
isTimerMethodAllowed
in class BaseContext.State
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.