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

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

protected static class EntityContext.CreateEntityState
extends BaseContext.State


Constructor Summary
protected EntityContext.CreateEntityState()
           
 
Method Summary
 javax.ejb.EJBLocalObject getEJBLocalObject()
           
 javax.ejb.EJBObject getEJBObject()
           
 Object getPrimaryKey()
           
 UserTransaction getUserTransaction(UserTransaction userTransaction)
           
 boolean isMessageContextAccessAllowed()
           
 boolean isTimerAccessAllowed()
           
 boolean isUserTransactionAccessAllowed()
           
 
Methods inherited from class org.apache.openejb.core.BaseContext.State
getCallerPrincipal, getEJBHome, getEJBLocalHome, getRollbackOnly, getTimerService, isCallerInRole, isEntityManagerAccessAllowed, isEntityManagerFactoryAccessAllowed, isJNDIAccessAllowed, setRollbackOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityContext.CreateEntityState

protected EntityContext.CreateEntityState()
Method Detail

getEJBLocalObject

public javax.ejb.EJBLocalObject getEJBLocalObject()
                                           throws IllegalStateException
Throws:
IllegalStateException

getEJBObject

public javax.ejb.EJBObject getEJBObject()
                                 throws IllegalStateException
Throws:
IllegalStateException

getPrimaryKey

public Object getPrimaryKey()
                     throws IllegalStateException
Throws:
IllegalStateException

getUserTransaction

public UserTransaction getUserTransaction(UserTransaction userTransaction)
                                   throws IllegalStateException
Overrides:
getUserTransaction 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

isTimerAccessAllowed

public boolean isTimerAccessAllowed()
Overrides:
isTimerAccessAllowed in class BaseContext.State


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