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: 1.5 $ $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 |
instance
protected javax.ejb.EnterpriseBean instance
setContextInvocation
protected EJBInvocation setContextInvocation
unsetContextInvocation
protected EJBInvocation unsetContextInvocation
systemChain
protected final org.apache.geronimo.core.service.Interceptor systemChain
AbstractInstanceContext
public AbstractInstanceContext(SystemMethodIndices systemMethodIndices,
org.apache.geronimo.core.service.Interceptor systemChain,
Set unshareableResources,
Set applicationManagedSecurityResources,
javax.ejb.EnterpriseBean instance,
EJBProxyFactory proxyFactory,
BasicTimerService timerService)
getId
public Object getId()
- Specified by:
getId
in interface org.apache.geronimo.transaction.InstanceContext
setId
public void setId(Object id)
- Specified by:
setId
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 Exception
- Specified by:
beforeCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Throws:
Exception
afterCommit
public void afterCommit(boolean status)
throws Exception
- Specified by:
afterCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Throws:
Exception
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
ejbActivate
public void ejbActivate()
throws Throwable
- Throws:
Throwable
ejbPassivate
public void ejbPassivate()
throws Throwable
- Throws:
Throwable
setContext
public void setContext()
throws Throwable
- Throws:
Throwable
unsetContext
public void unsetContext()
throws Throwable
- Throws:
Throwable
getTimerService
public javax.ejb.TimerService getTimerService()
- Specified by:
getTimerService
in interface EJBInstanceContext
Copyright © 1999-2005 OpenEJB. All Rights Reserved.