org.apache.openejb.core
Class BaseContext.State

java.lang.Object
  extended by 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


Constructor Summary
BaseContext.State()
           
 
Method Summary
 Principal getCallerPrincipal(SecurityService securityService)
           
 javax.ejb.EJBHome getEJBHome()
           
 javax.ejb.EJBLocalHome getEJBLocalHome()
           
 boolean getRollbackOnly(TransactionManager transactionManager)
           
 javax.ejb.TimerService getTimerService()
           
 UserTransaction getUserTransaction(UserTransaction userTransaction)
           
 boolean isCallerInRole(SecurityService securityService, String roleName)
           
 boolean isEntityManagerAccessAllowed()
           
 boolean isEntityManagerFactoryAccessAllowed()
           
 boolean isJNDIAccessAllowed()
           
 boolean isMessageContextAccessAllowed()
           
 boolean isTimerAccessAllowed()
           
 boolean isTimerMethodAllowed()
           
 boolean isUserTransactionAccessAllowed()
           
 void setRollbackOnly(TransactionManager transactionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseContext.State

public BaseContext.State()
Method Detail

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.