Package | Description |
---|---|
javax.resource.spi |
The javax.resource.spi package contains APIs for the system
contracts defined in the Java EE Connector Architecture specification.
|
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 |
---|---|
void |
XATerminator.commit(Xid xid,
boolean onePhase)
Commits the global transaction specified by xid.
|
void |
XATerminator.forget(Xid xid)
Tells the resource manager to forget about a heuristically
completed transaction branch.
|
int |
XATerminator.prepare(Xid xid)
Ask the resource manager to prepare for a transaction commit
of the transaction specified in xid.
|
Xid[] |
XATerminator.recover(int flag)
Obtains a list of prepared transaction branches from a resource
manager.
|
void |
XATerminator.rollback(Xid xid)
Informs the resource manager to roll back work done on behalf
of a transaction branch.
|
Modifier and Type | Method and Description |
---|---|
void |
XAResource.commit(Xid xid,
boolean onePhase)
Commits the global transaction specified by xid.
|
void |
XAResource.end(Xid xid,
int flags)
Ends the work performed on behalf of a transaction branch.
|
void |
XAResource.forget(Xid xid)
Tells the resource manager to forget about a heuristically
completed transaction branch.
|
int |
XAResource.getTransactionTimeout()
Obtains the current transaction timeout value set for this
XAResource instance.
|
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.
|
int |
XAResource.prepare(Xid xid)
Ask the resource manager to prepare for a transaction commit
of the transaction specified in xid.
|
Xid[] |
XAResource.recover(int flag)
Obtains a list of prepared transaction branches from a resource
manager.
|
void |
XAResource.rollback(Xid xid)
Informs the resource manager to roll back work done on behalf
of a transaction branch.
|
boolean |
XAResource.setTransactionTimeout(int seconds)
Sets the current transaction timeout value for this
XAResource
instance. |
void |
XAResource.start(Xid xid,
int flags)
Starts work on behalf of a transaction branch specified in
xid . |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.