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.
|
javax.transaction.xa |
Provides the API that defines the contract between the transaction
manager and the resource manager, which allows the transaction
manager to enlist and delist resource objects (supplied by the
resource manager driver) in JTA transactions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Transaction.delistResource(XAResource xaRes,
int flag)
Disassociate the resource specified from the transaction associated
with the target Transaction object.
|
boolean |
Transaction.enlistResource(XAResource xaRes)
Enlist the resource specified with the transaction associated with the
target Transaction object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XAResource.isSameRM(XAResource xares)
This method is called to determine if the resource manager
instance represented by the target object is the same as the
resouce manager instance represented by the parameter xares.
|
Copyright © 2023 GlassFish Community. All rights reserved.