org.openejb.entity.cmp
Class CMPInstanceContext
java.lang.Object
org.openejb.AbstractInstanceContext
org.openejb.entity.EntityInstanceContext
org.openejb.entity.cmp.CMPInstanceContext
- All Implemented Interfaces:
- EJBInstanceContext, org.apache.geronimo.transaction.InstanceContext
- public final class CMPInstanceContext
- extends EntityInstanceContext
- Version:
- $Revision: 445701 $ $Date: 2005-09-13 04:31:44 +0200 (Tue, 13 Sep 2005) $
Constructor Summary |
CMPInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
javax.ejb.EntityBean entityBean,
CMP1Bridge cmp1Bridge,
org.tranql.cache.FaultHandler loadFault,
org.tranql.identity.IdentityTransform primaryKeyTransform,
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.entity.EntityInstanceContext |
beforeCommit, die, ejbActivate, ejbLoad, ejbPassivate, ejbStore, getEJBContextImpl, getEntityContext, getId, getPool, isLoaded, setContext, setId, setLoaded, setOperation, setPool, setTimerState, unassociate, unsetContext |
Methods inherited from class org.openejb.AbstractInstanceContext |
enter, exit, getApplicationManagedSecurityResources, getBasicTimerService, getConnectionManagerMap, getContainerId, getInstance, getProxyFactory, getTimerService, getUnshareableResources, isDead, isInCall, setTimerServiceAvailable, toString |
CMPInstanceContext
public CMPInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
javax.ejb.EntityBean entityBean,
CMP1Bridge cmp1Bridge,
org.tranql.cache.FaultHandler loadFault,
org.tranql.identity.IdentityTransform primaryKeyTransform,
org.apache.geronimo.core.service.Interceptor lifecycleInterceptorChain,
SystemMethodIndices systemMethodIndices,
Set unshareableResources,
Set applicationManagedSecurityResources,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
BasicTimerService timerService)
throws Exception
getCacheRow
public org.tranql.cache.CacheRow getCacheRow()
setCacheRow
public void setCacheRow(org.tranql.cache.CacheRow cacheRow)
getTransactionContext
public org.apache.geronimo.transaction.context.TransactionContext getTransactionContext()
setTransactionContext
public void setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
- Overrides:
setTransactionContext
in class EntityInstanceContext
associate
public void associate()
throws Throwable
- Specified by:
associate
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
associate
in class EntityInstanceContext
- Throws:
Throwable
flush
public void flush()
throws Throwable
- Specified by:
flush
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
flush
in class EntityInstanceContext
- Throws:
Throwable
afterCommit
public void afterCommit(boolean status)
throws Throwable
- Specified by:
afterCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
afterCommit
in class AbstractInstanceContext
- Throws:
Throwable
addRelation
public void addRelation(int slot,
Object primaryKey)
removeRelation
public void removeRelation(int slot,
Object primaryKey)
Copyright © 1999-2006 OpenEJB. All Rights Reserved.