org.openejb.entity
Class EntityContextImpl
java.lang.Object
org.openejb.EJBContextImpl
org.openejb.entity.EntityContextImpl
- All Implemented Interfaces:
- javax.ejb.EJBContext, javax.ejb.EntityContext
- public class EntityContextImpl
- extends EJBContextImpl
- implements javax.ejb.EntityContext
- Version:
- $Revision: 445265 $ $Date: 2005-03-09 06:01:02 +0100 (Wed, 09 Mar 2005) $
Methods inherited from class org.openejb.EJBContextImpl |
getCallerPrincipal, getCallerSubject, getEJBHome, getEJBLocalHome, getEJBLocalObject, getEJBObject, getRollbackOnly, getTimerService, isCallerInRole, setCallerSubject, setRollbackOnly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ejb.EntityContext |
getEJBLocalObject, getEJBObject |
Methods inherited from interface javax.ejb.EJBContext |
getCallerPrincipal, getEJBHome, getEJBLocalHome, getRollbackOnly, getTimerService, isCallerInRole, setRollbackOnly |
INACTIVE
public static EntityContextImpl.EntityContextState INACTIVE
SETENTITYCONTEXT
public static EntityContextImpl.EntityContextState SETENTITYCONTEXT
EJBCREATE
public static EntityContextImpl.EntityContextState EJBCREATE
EJBPOSTCREATE
public static EntityContextImpl.EntityContextState EJBPOSTCREATE
EJBREMOVE
public static EntityContextImpl.EntityContextState EJBREMOVE
EJBFIND
public static EntityContextImpl.EntityContextState EJBFIND
EJBHOME
public static EntityContextImpl.EntityContextState EJBHOME
EJBACTIVATE
public static EntityContextImpl.EntityContextState EJBACTIVATE
EJBLOAD
public static EntityContextImpl.EntityContextState EJBLOAD
BIZ_INTERFACE
public static EntityContextImpl.EntityContextState BIZ_INTERFACE
EJBTIMEOUT
public static EntityContextImpl.EntityContextState EJBTIMEOUT
EntityContextImpl
public EntityContextImpl(EntityInstanceContext context,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager)
setState
public void setState(EJBOperation operation)
setTimerState
public boolean setTimerState(EJBOperation operation)
getPrimaryKey
public Object getPrimaryKey()
throws IllegalStateException
- Specified by:
getPrimaryKey
in interface javax.ejb.EntityContext
- Throws:
IllegalStateException
getUserTransaction
public UserTransaction getUserTransaction()
throws IllegalStateException
- Specified by:
getUserTransaction
in interface javax.ejb.EJBContext
- Overrides:
getUserTransaction
in class EJBContextImpl
- Throws:
IllegalStateException
getEnvironment
public Properties getEnvironment()
- Specified by:
getEnvironment
in interface javax.ejb.EJBContext
- Overrides:
getEnvironment
in class EJBContextImpl
getCallerIdentity
public Identity getCallerIdentity()
- Specified by:
getCallerIdentity
in interface javax.ejb.EJBContext
- Overrides:
getCallerIdentity
in class EJBContextImpl
isCallerInRole
public boolean isCallerInRole(Identity identity)
- Specified by:
isCallerInRole
in interface javax.ejb.EJBContext
- Overrides:
isCallerInRole
in class EJBContextImpl
Copyright © 1999-2006 OpenEJB. All Rights Reserved.