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: 445266 $ $Date: 2005-03-09 06:58:17 +0100 (Wed, 09 Mar 2005) $
|
Constructor Summary |
StatefulInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
javax.ejb.SessionBean instance,
Object id,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
org.apache.geronimo.transaction.context.UserTransactionImpl userTransaction,
SystemMethodIndices systemMethodIndices,
org.apache.geronimo.core.service.Interceptor systemChain,
Set unshareableResources,
Set applicationManagedSecurityResources)
|
| Methods inherited from class org.openejb.AbstractInstanceContext |
enter, exit, flush, getApplicationManagedSecurityResources, getBasicTimerService, getConnectionManagerMap, getContainerId, getInstance, getProxyFactory, getTimerService, getUnshareableResources, isDead, isInCall, setTimerServiceAvailable, toString |
StatefulInstanceContext
public StatefulInstanceContext(Object containerId,
EJBProxyFactory proxyFactory,
javax.ejb.SessionBean instance,
Object id,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
org.apache.geronimo.transaction.context.UserTransactionImpl userTransaction,
SystemMethodIndices systemMethodIndices,
org.apache.geronimo.core.service.Interceptor systemChain,
Set unshareableResources,
Set applicationManagedSecurityResources)
getOperation
public EJBOperation getOperation()
setOperation
public void setOperation(EJBOperation operation)
setTimerState
public boolean setTimerState(EJBOperation operation)
getEJBContextImpl
public EJBContextImpl getEJBContextImpl()
getId
public Object getId()
- Specified by:
getId in interface org.apache.geronimo.transaction.InstanceContext- Overrides:
getId in class AbstractInstanceContext
getPreexistingContext
public org.apache.geronimo.transaction.context.TransactionContext getPreexistingContext()
setPreexistingContext
public void setPreexistingContext(org.apache.geronimo.transaction.context.TransactionContext preexistingContext)
getCache
public InstanceCache getCache()
setCache
public void setCache(InstanceCache cache)
die
public void die()
- Specified by:
die in interface org.apache.geronimo.transaction.InstanceContext- Overrides:
die in class AbstractInstanceContext
getSessionContext
public StatefulSessionContext getSessionContext()
setContext
public void setContext()
throws Throwable
- Throws:
Throwable
unsetContext
public void unsetContext()
throws Throwable
- Throws:
Throwable
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 Throwable
- Specified by:
beforeCommit in interface org.apache.geronimo.transaction.InstanceContext- Overrides:
beforeCommit in class AbstractInstanceContext
- Throws:
Throwable
afterCommit
public void afterCommit(boolean committed)
throws Throwable
- Specified by:
afterCommit in interface org.apache.geronimo.transaction.InstanceContext- Overrides:
afterCommit in class AbstractInstanceContext
- Throws:
Throwable
unassociate
public void unassociate()
throws Throwable
- Specified by:
unassociate in interface org.apache.geronimo.transaction.InstanceContext- Overrides:
unassociate in class AbstractInstanceContext
- Throws:
Throwable
Copyright © 1999-2006 OpenEJB. All Rights Reserved.