org.openejb.entity
Class EntityInstanceContext
java.lang.Object
org.openejb.AbstractInstanceContext
org.openejb.entity.EntityInstanceContext
- All Implemented Interfaces:
- EJBInstanceContext, org.apache.geronimo.transaction.InstanceContext
- Direct Known Subclasses:
- BMPInstanceContext, CMPInstanceContext
- public abstract class EntityInstanceContext
- extends AbstractInstanceContext
- Version:
- $Revision: 446210 $ $Date: 2006-06-02 23:37:55 +0200 (Fri, 02 Jun 2006) $
Constructor Summary |
EntityInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
javax.ejb.EnterpriseBean instance,
org.apache.geronimo.core.service.Interceptor lifecycleInterceptorChain,
SystemMethodIndices systemMethodIndices,
Set unshareableResources,
Set applicationManagedSecurityResources,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
BasicTimerService timerService)
|
Methods inherited from class org.openejb.AbstractInstanceContext |
afterCommit, enter, exit, getApplicationManagedSecurityResources, getBasicTimerService, getConnectionManagerMap, getContainerId, getInstance, getProxyFactory, getTimerService, getUnshareableResources, isDead, isInCall, setTimerServiceAvailable, toString |
EntityInstanceContext
public EntityInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
javax.ejb.EnterpriseBean instance,
org.apache.geronimo.core.service.Interceptor lifecycleInterceptorChain,
SystemMethodIndices systemMethodIndices,
Set unshareableResources,
Set applicationManagedSecurityResources,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
BasicTimerService timerService)
getId
public Object getId()
- Specified by:
getId
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
getId
in class AbstractInstanceContext
setId
public void setId(Object id)
getPool
public InstancePool getPool()
setPool
public void setPool(InstancePool pool)
setOperation
public void setOperation(EJBOperation operation)
setTimerState
public boolean setTimerState(EJBOperation operation)
getEJBContextImpl
public EJBContextImpl getEJBContextImpl()
getEntityContext
public javax.ejb.EntityContext getEntityContext()
setTransactionContext
public void setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
isLoaded
public boolean isLoaded()
setLoaded
public void setLoaded(boolean loaded)
die
public void die()
- Specified by:
die
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
die
in class AbstractInstanceContext
associate
public void associate()
throws Throwable
- Specified by:
associate
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
associate
in class AbstractInstanceContext
- Throws:
Throwable
unassociate
public void unassociate()
throws Throwable
- Specified by:
unassociate
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
unassociate
in class AbstractInstanceContext
- Throws:
Throwable
beforeCommit
public void beforeCommit()
throws Throwable
- Specified by:
beforeCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
beforeCommit
in class AbstractInstanceContext
- Throws:
Throwable
flush
public void flush()
throws Throwable
- Specified by:
flush
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
flush
in class AbstractInstanceContext
- Throws:
Throwable
setContext
public void setContext()
throws Throwable
- Throws:
Throwable
unsetContext
public void unsetContext()
throws Throwable
- Throws:
Throwable
ejbActivate
protected void ejbActivate()
throws Throwable
- Throws:
Throwable
ejbPassivate
protected void ejbPassivate()
throws Throwable
- Throws:
Throwable
ejbLoad
protected void ejbLoad()
throws Throwable
- Throws:
Throwable
ejbStore
public void ejbStore()
throws Throwable
- Throws:
Throwable
Copyright © 1999-2006 OpenEJB. All Rights Reserved.