|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XaConnection
XaConnection holds the XAResource used by the
transaction manager to control the work done on the resource in a global
transaction. Normally you add your "work like" methods in the implementing
class.
Don't forget to enlist and delist the resource with the transaction manager when work is beeing done
XaConnectionHelpImpl| Method Summary | |
|---|---|
void |
destroy()
Destroys this connection and depending on XAResource
implementation the work done on the resource will be rolled back, saved
or committed (may also depend on transactional state). |
XAResource |
getXaResource()
Returns the XAResource held by this XaConnection. |
| Method Detail |
|---|
XAResource getXaResource()
XAResource held by this XaConnection.
void destroy()
XAResource
implementation the work done on the resource will be rolled back, saved
or committed (may also depend on transactional state).
This method is only valid to call once and there after it is illegal to
invoke getXaResource or any other method that creates
transactions or performs work using the XAResource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||