org.openejb.sfsb
Class StatefulInstanceContext
java.lang.Object
org.openejb.AbstractInstanceContext
org.openejb.sfsb.StatefulInstanceContext
- All Implemented Interfaces:
- EJBInstanceContext, org.apache.geronimo.transaction.InstanceContext
- public class StatefulInstanceContext
- extends AbstractInstanceContext
- Version:
- $Revision: 1.6 $ $Date: 2004/07/18 22:32:24 $
Methods inherited from class org.openejb.AbstractInstanceContext |
associate, ejbActivate, ejbPassivate, flush, getApplicationManagedSecurityResources, getConnectionManagerMap, getInstance, getProxyFactory, getTimerService, getUnshareableResources, setContext, unsetContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatefulInstanceContext
public StatefulInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
javax.ejb.SessionBean instance,
Object id,
org.apache.geronimo.transaction.UserTransactionImpl userTransaction,
SystemMethodIndices systemMethodIndices,
org.apache.geronimo.core.service.Interceptor systemChain,
Set unshareableResources,
Set applicationManagedSecurityResources)
getContainerId
public Object getContainerId()
- Specified by:
getContainerId
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
getContainerId
in class AbstractInstanceContext
setOperation
public void setOperation(EJBOperation operation)
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
die
public void die()
isDead
public boolean isDead()
getSessionContext
public StatefulSessionContext getSessionContext()
afterBegin
public void afterBegin()
throws Exception
- Throws:
Exception
beforeCommit
public void beforeCommit()
throws Exception
- Specified by:
beforeCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
beforeCommit
in class AbstractInstanceContext
- Throws:
Exception
afterCommit
public void afterCommit(boolean committed)
throws Exception
- Specified by:
afterCommit
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
afterCommit
in class AbstractInstanceContext
- Throws:
Exception
Copyright © 1999-2005 OpenEJB. All Rights Reserved.