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

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

protected static class EntityContext.FindEntityState
extends BaseContext.State


Constructor Summary
protected EntityContext.FindEntityState()
           
 
Method Summary
 javax.ejb.EJBLocalObject getEJBLocalObject()
           
 javax.ejb.EJBObject getEJBObject()
           
 java.lang.Object getPrimaryKey()
           
 javax.ejb.TimerService getTimerService()
           
 javax.transaction.UserTransaction getUserTransaction(javax.transaction.UserTransaction userTransaction)
           
 boolean isMessageContextAccessAllowed()
           
 boolean isTimerAccessAllowed()
           
 boolean isUserTransactionAccessAllowed()
           
 
Methods inherited from class org.apache.openejb.core.BaseContext.State
getCallerPrincipal, getEJBHome, getEJBLocalHome, getRollbackOnly, 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.FindEntityState

protected EntityContext.FindEntityState()
Method Detail

getEJBLocalObject

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

getEJBObject

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

getPrimaryKey

public java.lang.Object getPrimaryKey()
                               throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getUserTransaction

public javax.transaction.UserTransaction getUserTransaction(javax.transaction.UserTransaction userTransaction)
                                                     throws java.lang.IllegalStateException
Overrides:
getUserTransaction in class BaseContext.State
Throws:
java.lang.IllegalStateException

getTimerService

public javax.ejb.TimerService getTimerService()
                                       throws java.lang.IllegalStateException
Overrides:
getTimerService in class BaseContext.State
Throws:
java.lang.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.