|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XACapable
XACapable
is an object (typically a MessageListener in this context)
which can be part of an XA transaction.
This just means that this object has a way of providing XA resources.
Method Summary | |
---|---|
void |
delistResources(javax.transaction.Transaction transaction,
int flag)
This method is called to delist any XA resources the given object has previously enlisted to this XA transaction. |
void |
enlistResources(javax.transaction.Transaction transaction)
This method is called to enlist any XA resources the given object has to be part of the XA transaction. |
Method Detail |
---|
void enlistResources(javax.transaction.Transaction transaction) throws java.lang.Exception
transaction
- the transaction to enlist to
java.lang.Exception
void delistResources(javax.transaction.Transaction transaction, int flag) throws java.lang.Exception
transaction
- the transaction to delist resources fromflag
- is the flag used by JTA when delisting resources.
It is either XAResource.TMSUCCESS, XAResource.TMSUSPEND, or XAResource.TMFAIL
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |