| java.lang.Object org.objectweb.jonas.resource.RMEImpl
RMEImpl | class RMEImpl implements ResourceManagerEvent(Code) | | This class implements ResourceManagerEvent. An instance of this object is
also an event transmited by the Resource adapter manager to the user
transaction. This event is linked to a ManagedConnection, more exatcly this
implementation is linked to MCInfo instance.
author: sebastien.chassande@inrialpes.fr |
Field Summary | |
protected boolean | isValid Set if the RME is valid to call enlist Resource
Issue with JOTM and one thread calling ConnectionOpened, but a
different thread calling Closed or Error and not enough information
in JOTM to keep information straight. |
Constructor Summary | |
public | RMEImpl(MCInfo mci, Logger trace) This constructor permits to specify the MCInfp corresponding to the
ManagedConnection (the physical connection). |
Method Summary | |
public void | enlistConnection(Transaction tx) This method is in charge of the enlisting of the managedConnection linked
to this instance, in the transaction specified in parameter. | public boolean | equals(Object o) |
isValid | protected boolean isValid(Code) | | Set if the RME is valid to call enlist Resource
Issue with JOTM and one thread calling ConnectionOpened, but a
different thread calling Closed or Error and not enough information
in JOTM to keep information straight.
|
RMEImpl | public RMEImpl(MCInfo mci, Logger trace)(Code) | | This constructor permits to specify the MCInfp corresponding to the
ManagedConnection (the physical connection).
Parameters: mci - MCInfo Parameters: trace - Logger |
enlistConnection | public void enlistConnection(Transaction tx) throws SystemException(Code) | | This method is in charge of the enlisting of the managedConnection linked
to this instance, in the transaction specified in parameter.
Parameters: tx - TransactionConnection throws: SystemException - if an Exception occurs |
equals | public boolean equals(Object o)(Code) | | Check if equals
Parameters: o - Object to test equality boolean if RMEImpl objets are equal |
|
|