|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.resource.RMEImpl
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.
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 | |
RMEImpl(MCInfo mci,
org.objectweb.util.monolog.api.Logger trace)
This constructor permits to specify the MCInfp corresponding to the ManagedConnection (the physical connection). |
Method Summary | |
void |
delistConnection(javax.transaction.Transaction tx)
Added for Stateful beans (See JStatefulSwitch.delistConnections) |
void |
enlistConnection(javax.transaction.Transaction tx)
This method is in charge of the enlisting of the managedConnection linked to this instance, in the transaction specified in parameter. |
boolean |
equals(java.lang.Object o)
Check if equals |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean isValid
Constructor Detail |
public RMEImpl(MCInfo mci, org.objectweb.util.monolog.api.Logger trace)
mci
- MCInfotrace
- LoggerMethod Detail |
public boolean equals(java.lang.Object o)
o
- Object to test equality
public void enlistConnection(javax.transaction.Transaction tx) throws javax.transaction.SystemException
enlistConnection
in interface org.objectweb.transaction.jta.ResourceManagerEvent
tx
- TransactionConnection
javax.transaction.SystemException
- if an Exception occurspublic void delistConnection(javax.transaction.Transaction tx) throws javax.transaction.SystemException
javax.transaction.SystemException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |