org.openejb.mdb
Class MDBInstanceContext
java.lang.Object
org.openejb.AbstractInstanceContext
org.openejb.mdb.MDBInstanceContext
- All Implemented Interfaces:
- EJBInstanceContext, org.apache.geronimo.transaction.InstanceContext
- public final class MDBInstanceContext
- extends AbstractInstanceContext
Wrapper for a MDB.
- Version:
- $Revision: 1.7 $ $Date: 2004/07/20 23:40:02 $
Constructor Summary |
MDBInstanceContext(Object containerId,
javax.ejb.MessageDrivenBean instance,
org.apache.geronimo.transaction.UserTransactionImpl userTransaction,
SystemMethodIndices systemMethodIndices,
org.apache.geronimo.core.service.Interceptor systemChain,
Set unshareableResources,
Set applicationManagedSecurityResources,
BasicTimerService timerService)
|
Methods inherited from class org.openejb.AbstractInstanceContext |
afterCommit, associate, beforeCommit, ejbActivate, ejbPassivate, 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 |
MDBInstanceContext
public MDBInstanceContext(Object containerId,
javax.ejb.MessageDrivenBean instance,
org.apache.geronimo.transaction.UserTransactionImpl userTransaction,
SystemMethodIndices systemMethodIndices,
org.apache.geronimo.core.service.Interceptor systemChain,
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
flush
public void flush()
- Specified by:
flush
in interface org.apache.geronimo.transaction.InstanceContext
- Overrides:
flush
in class AbstractInstanceContext
getMessageDrivenContext
public MDBContext getMessageDrivenContext()
setOperation
public void setOperation(EJBOperation operation)
Copyright © 1999-2005 OpenEJB. All Rights Reserved.