org.apache.openejb.core.entity
Class EntityContext.ActivatePassivateEntityState

java.lang.Object
  extended by org.apache.openejb.core.BaseContext.State
      extended by org.apache.openejb.core.entity.EntityContext.ActivatePassivateEntityState
Enclosing class:
EntityContext

protected static class EntityContext.ActivatePassivateEntityState
extends BaseContext.State


Constructor Summary
protected EntityContext.ActivatePassivateEntityState()
           
 
Method Summary
 Principal getCallerPrincipal(SecurityService securityService)
           
 boolean getRollbackOnly(TransactionManager transactionManager)
           
 UserTransaction getUserTransaction(UserTransaction userTransaction)
           
 boolean isCallerInRole(SecurityService securityService, String roleName)
           
 boolean isEntityManagerAccessAllowed()
           
 boolean isEntityManagerFactoryAccessAllowed()
           
 boolean isMessageContextAccessAllowed()
           
 boolean isTimerAccessAllowed()
           
 boolean isUserTransactionAccessAllowed()
           
 void setRollbackOnly(TransactionManager transactionManager)
           
 
Methods inherited from class org.apache.openejb.core.BaseContext.State
getEJBHome, getEJBLocalHome, getTimerService, isJNDIAccessAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityContext.ActivatePassivateEntityState

protected EntityContext.ActivatePassivateEntityState()
Method Detail

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

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


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.