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: 1.7 $ $Date: 2004/07/20 23:40:01 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityInstanceContext
public EntityInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
javax.ejb.EnterpriseBean instance,
org.apache.geronimo.core.service.Interceptor lifecycleInterceptorChain,
SystemMethodIndices systemMethodIndices,
Set unshareableResources,
Set applicationManagedSecurityResources,
BasicTimerService timerService)
getContainerId
public Object getContainerId()
- Specified by:
getContainerId
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
getContainerId
in class AbstractInstanceContext
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)
- Specified by:
setId
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
setId
in class AbstractInstanceContext
setOperation
public void setOperation(EJBOperation operation)
getEntityContext
public javax.ejb.EntityContext getEntityContext()
setTransactionContext
public void setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
isStateValid
public boolean isStateValid()
setStateValid
public void setStateValid(boolean stateValid)
associate
public void associate()
throws Throwable
- Specified by:
associate
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
associate
in class AbstractInstanceContext
- Throws:
Throwable
beforeCommit
public void beforeCommit()
throws Exception
- Specified by:
beforeCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
beforeCommit
in class AbstractInstanceContext
- Throws:
Exception
flush
public void flush()
throws Throwable
- Specified by:
flush
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
flush
in class AbstractInstanceContext
- Throws:
Throwable
afterCommit
public void afterCommit(boolean status)
- Specified by:
afterCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
afterCommit
in class AbstractInstanceContext
Copyright © 1999-2005 OpenEJB. All Rights Reserved.