org.openejb.entity.cmp
Class CMPInstanceContext
java.lang.Object
org.openejb.AbstractInstanceContext
org.openejb.entity.EntityInstanceContext
org.openejb.entity.cmp.CMPInstanceContext
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, EJBInstanceContext, org.apache.geronimo.transaction.InstanceContext, net.sf.cglib.proxy.MethodInterceptor
- public final class CMPInstanceContext
- extends EntityInstanceContext
- implements net.sf.cglib.proxy.MethodInterceptor
- Version:
- $Revision: 1.12 $ $Date: 2004/07/20 23:40:02 $
Constructor Summary |
CMPInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
InstanceOperation[] itable,
org.tranql.cache.FaultHandler loadFault,
org.tranql.identity.IdentityTransform primaryKeyTransform,
CMPInstanceContextFactory contextFactory,
org.apache.geronimo.core.service.Interceptor lifecycleInterceptorChain,
SystemMethodIndices systemMethodIndices,
Set unshareableResources,
Set applicationManagedSecurityResources,
BasicTimerService timerService)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMPInstanceContext
public CMPInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
InstanceOperation[] itable,
org.tranql.cache.FaultHandler loadFault,
org.tranql.identity.IdentityTransform primaryKeyTransform,
CMPInstanceContextFactory contextFactory,
org.apache.geronimo.core.service.Interceptor lifecycleInterceptorChain,
SystemMethodIndices systemMethodIndices,
Set unshareableResources,
Set applicationManagedSecurityResources,
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
intercept
public Object intercept(Object o,
Method method,
Object[] objects,
net.sf.cglib.proxy.MethodProxy methodProxy)
throws Throwable
- Specified by:
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
- Throws:
Throwable
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)
- Specified by:
afterCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
afterCommit
in class EntityInstanceContext
addRelation
public void addRelation(int slot,
Object primaryKey)
removeRelation
public void removeRelation(int slot,
Object primaryKey)
Copyright © 1999-2005 OpenEJB. All Rights Reserved.