Package | Description |
---|---|
javax.transaction |
Provides the API that defines the contract between the transaction
manager and the various parties involved in a distributed transaction
namely : resource manager, application, and application server.
|
Modifier and Type | Method and Description |
---|---|
void |
UserTransaction.commit()
Complete the transaction associated with the current thread.
|
void |
TransactionManager.commit()
Complete the transaction associated with the current thread.
|
void |
Transaction.commit()
Complete the transaction represented by this Transaction object.
|
boolean |
Transaction.enlistResource(XAResource xaRes)
Enlist the resource specified with the transaction associated with the
target Transaction object.
|
void |
Transaction.registerSynchronization(Synchronization sync)
Register a synchronization object for the transaction currently
associated with the target object.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.