|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.resource.internal.cm.jta.JResourceManagerEvent
public class JResourceManagerEvent
This class implements Enlistable. 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 ManagedConnectionInfo instance.
| Constructor Summary | |
|---|---|
JResourceManagerEvent(ManagedConnectionInfo 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(Transaction tx)
Used when going out of a Stateful beans |
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. |
boolean |
equals(Object o)
Check if equals |
boolean |
isValid()
|
void |
setValid(boolean isValid)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JResourceManagerEvent(ManagedConnectionInfo mci,
org.objectweb.util.monolog.api.Logger trace)
mci - ManagedConnectionInfotrace - Logger| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objecto - Object to test equality
public void enlistConnection(Transaction tx)
throws SystemException
enlistConnection in interface Enlistabletx - TransactionConnection
SystemException - if an Exception occurs
public void delistConnection(Transaction tx)
throws SystemException
delistConnection in interface EnlistableSystemExceptionpublic boolean isValid()
public void setValid(boolean isValid)
isValid - the isValid to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||