org.openejb
Class AbstractInstanceContext
java.lang.Object
org.openejb.AbstractInstanceContext
- All Implemented Interfaces:
- EJBInstanceContext, org.apache.geronimo.transaction.InstanceContext
- Direct Known Subclasses:
- EntityInstanceContext, MDBInstanceContext, StatefulInstanceContext, StatelessInstanceContext
- public abstract class AbstractInstanceContext
- extends Object
- implements EJBInstanceContext
Simple implementation of ComponentContext satisfying invariant.
- Version:
- $Revision: 446210 $ $Date: 2006-06-02 23:37:55 +0200 (Fri, 02 Jun 2006) $
Field Summary |
protected org.apache.geronimo.core.service.Interceptor |
systemChain
|
systemChain
protected final org.apache.geronimo.core.service.Interceptor systemChain
AbstractInstanceContext
public AbstractInstanceContext(Object containerId,
javax.ejb.EnterpriseBean instance,
org.apache.geronimo.core.service.Interceptor systemChain,
EJBProxyFactory proxyFactory,
BasicTimerService basicTimerService,
Set unshareableResources,
Set applicationManagedSecurityResources)
getId
public Object getId()
- Specified by:
getId
in interface org.apache.geronimo.transaction.InstanceContext
getContainerId
public Object getContainerId()
- Specified by:
getContainerId
in interface org.apache.geronimo.transaction.InstanceContext
associate
public void associate()
throws Throwable
- Specified by:
associate
in interface org.apache.geronimo.transaction.InstanceContext
- Throws:
Throwable
flush
public void flush()
throws Throwable
- Specified by:
flush
in interface org.apache.geronimo.transaction.InstanceContext
- Throws:
Throwable
beforeCommit
public void beforeCommit()
throws Throwable
- Specified by:
beforeCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Throws:
Throwable
afterCommit
public void afterCommit(boolean status)
throws Throwable
- Specified by:
afterCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Throws:
Throwable
unassociate
public void unassociate()
throws Throwable
- Specified by:
unassociate
in interface org.apache.geronimo.transaction.InstanceContext
- Throws:
Throwable
getConnectionManagerMap
public Map getConnectionManagerMap()
- Specified by:
getConnectionManagerMap
in interface org.apache.geronimo.transaction.InstanceContext
getUnshareableResources
public Set getUnshareableResources()
- Specified by:
getUnshareableResources
in interface org.apache.geronimo.transaction.InstanceContext
getApplicationManagedSecurityResources
public Set getApplicationManagedSecurityResources()
- Specified by:
getApplicationManagedSecurityResources
in interface org.apache.geronimo.transaction.InstanceContext
getInstance
public javax.ejb.EnterpriseBean getInstance()
- Specified by:
getInstance
in interface EJBInstanceContext
getProxyFactory
public EJBProxyFactory getProxyFactory()
- Specified by:
getProxyFactory
in interface EJBInstanceContext
getTimerService
public javax.ejb.TimerService getTimerService()
- Specified by:
getTimerService
in interface EJBInstanceContext
getBasicTimerService
public BasicTimerService getBasicTimerService()
- Specified by:
getBasicTimerService
in interface EJBInstanceContext
setTimerServiceAvailable
public void setTimerServiceAvailable(boolean available)
- Specified by:
setTimerServiceAvailable
in interface EJBInstanceContext
die
public void die()
- Specified by:
die
in interface org.apache.geronimo.transaction.InstanceContext
isDead
public final boolean isDead()
- Specified by:
isDead
in interface org.apache.geronimo.transaction.InstanceContext
isInCall
public boolean isInCall()
- Specified by:
isInCall
in interface org.apache.geronimo.transaction.InstanceContext
enter
public void enter()
- Specified by:
enter
in interface org.apache.geronimo.transaction.InstanceContext
exit
public void exit()
- Specified by:
exit
in interface org.apache.geronimo.transaction.InstanceContext
toString
public String toString()
Copyright © 1999-2006 OpenEJB. All Rights Reserved.