|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
- LoggerMethod Detail |
---|
public boolean equals(Object o)
equals
in class Object
o
- Object to test equality
public void enlistConnection(Transaction tx) throws SystemException
enlistConnection
in interface Enlistable
tx
- TransactionConnection
SystemException
- if an Exception occurspublic void delistConnection(Transaction tx) throws SystemException
delistConnection
in interface Enlistable
tx
- the transaction that has begun
SystemException
- if an exception occurspublic 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 |