org.openejb.mdb
Class MDBInstanceContext

java.lang.Object
  extended byorg.openejb.AbstractInstanceContext
      extended byorg.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 $

Field Summary
 
Fields inherited from class org.openejb.AbstractInstanceContext
instance, setContextInvocation, systemChain, unsetContextInvocation
 
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)
           
 
Method Summary
 void flush()
           
 Object getContainerId()
           
 Object getId()
           
 MDBContext getMessageDrivenContext()
           
 void setId(Object id)
           
 void setOperation(EJBOperation operation)
           
 
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
 

Constructor Detail

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)
Method Detail

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.