org.apache.openejb.core
Class BaseContext.State
java.lang.Object
org.apache.openejb.core.BaseContext.State
- Direct Known Subclasses:
- BaseSessionContext.SessionState, EntityContext.ActivatePassivateEntityState, EntityContext.ContextEntityState, EntityContext.CreateEntityState, EntityContext.FindEntityState, EntityContext.HomeEntityState, EntityContext.LifecycleBusinessTimeoutEntityState, MdbContext.BusinessTimeoutMdbState, MdbContext.InjectionMdbState, MdbContext.LifecycleMdbState
- Enclosing class:
- BaseContext
public static class BaseContext.State
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseContext.State
public BaseContext.State()
getEJBHome
public javax.ejb.EJBHome getEJBHome()
getEJBLocalHome
public javax.ejb.EJBLocalHome getEJBLocalHome()
getCallerPrincipal
public Principal getCallerPrincipal(SecurityService securityService)
isCallerInRole
public boolean isCallerInRole(SecurityService securityService,
String roleName)
getUserTransaction
public UserTransaction getUserTransaction(UserTransaction userTransaction)
throws IllegalStateException
- Throws:
IllegalStateException
setRollbackOnly
public void setRollbackOnly(TransactionManager transactionManager)
throws IllegalStateException
- Throws:
IllegalStateException
getRollbackOnly
public boolean getRollbackOnly(TransactionManager transactionManager)
throws IllegalStateException
- Throws:
IllegalStateException
getTimerService
public javax.ejb.TimerService getTimerService()
throws IllegalStateException
- Throws:
IllegalStateException
isTimerAccessAllowed
public boolean isTimerAccessAllowed()
isTimerMethodAllowed
public boolean isTimerMethodAllowed()
isUserTransactionAccessAllowed
public boolean isUserTransactionAccessAllowed()
isMessageContextAccessAllowed
public boolean isMessageContextAccessAllowed()
isJNDIAccessAllowed
public boolean isJNDIAccessAllowed()
isEntityManagerFactoryAccessAllowed
public boolean isEntityManagerFactoryAccessAllowed()
isEntityManagerAccessAllowed
public boolean isEntityManagerAccessAllowed()
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.