Example usage for Java javax.transaction Transaction fields, constructors, methods, implement or subclass
The text is from its open source code.
void | commit() Complete the transaction represented by this Transaction object. |
boolean | delistResource(XAResource xaRes, int flag) Disassociate the resource specified from the transaction associated with the target Transaction object. |
boolean | enlistResource(XAResource xaRes) Enlist the resource specified with the transaction associated with the target Transaction object. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
int | getStatus() Obtain the status of the transaction associated with the target Transaction object. |
int | hashCode() Returns a hash code value for the object. |
void | registerSynchronization(Synchronization sync) Register a synchronization object for the transaction currently associated with the target object. |
void | rollback() Rollback the transaction represented by this Transaction object. |
void | setRollbackOnly() Modify the transaction associated with the target object such that the only possible outcome of the transaction is to roll back the transaction. |