A B C D E F G H I J M N P R S T U X

A

afterCompletion(int) - Method in interface javax.transaction.Synchronization
This method is called by the transaction manager after the transaction is committed or rolled back.

B

beforeCompletion() - Method in interface javax.transaction.Synchronization
The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process.
begin() - Method in interface javax.transaction.UserTransaction
Create a new transaction and associate it with the current thread.
begin() - Method in interface javax.transaction.TransactionManager
Create a new transaction and associate it with the current thread.

C

commit() - Method in interface javax.transaction.UserTransaction
Complete the transaction associated with the current thread.
commit() - Method in interface javax.transaction.Transaction
Complete the transaction represented by this Transaction object.
commit() - Method in interface javax.transaction.TransactionManager
Complete the transaction associated with the current thread.
commit(Xid, boolean) - Method in interface javax.transaction.xa.XAResource
Commits the global transaction specified by xid.

D

delistResource(XAResource, int) - Method in interface javax.transaction.Transaction
Disassociate the resource specified from the transaction associated with the target Transaction object.

E

end(Xid, int) - Method in interface javax.transaction.xa.XAResource
Ends the work performed on behalf of a transaction branch.
enlistResource(XAResource) - Method in interface javax.transaction.Transaction
Enlist the resource specified with the transaction associated with the target Transaction object.
errorCode - Variable in class javax.transaction.SystemException
The error code with which to create the SystemException.
errorCode - Variable in class javax.transaction.xa.XAException
The error code with which to create the SystemException.

F

forget(Xid) - Method in interface javax.transaction.xa.XAResource
Tells the resource manager to forget about a heuristically completed transaction branch.

G

getBranchQualifier() - Method in interface javax.transaction.xa.Xid
Obtain the transaction branch identifier part of XID as an array of bytes.
getFormatId() - Method in interface javax.transaction.xa.Xid
Obtain the format identifier part of the XID.
getGlobalTransactionId() - Method in interface javax.transaction.xa.Xid
Obtain the global transaction identifier part of XID as an array of bytes.
getStatus() - Method in interface javax.transaction.UserTransaction
Obtain the status of the transaction associated with the current thread.
getStatus() - Method in interface javax.transaction.Transaction
Obtain the status of the transaction associated with the target Transaction object.
getStatus() - Method in interface javax.transaction.TransactionManager
Obtain the status of the transaction associated with the current thread.
getTransaction() - Method in interface javax.transaction.TransactionManager
Get the transaction object that represents the transaction context of the calling thread.
getTransactionTimeout() - Method in interface javax.transaction.xa.XAResource
Obtains the current transaction timeout value set for this XAResource instance.

H

HeuristicCommitException - exception javax.transaction.HeuristicCommitException.
This exception is thrown by the rollback operation on a resource to report that a heuristic decision was made and that all relevant updates have been committed.
HeuristicCommitException() - Constructor for class javax.transaction.HeuristicCommitException
 
HeuristicCommitException(String) - Constructor for class javax.transaction.HeuristicCommitException
 
HeuristicMixedException - exception javax.transaction.HeuristicMixedException.
This exception is thrown to report that a heuristic decision was made and that some relevant updates have been committed and others have been rolled back.
HeuristicMixedException() - Constructor for class javax.transaction.HeuristicMixedException
 
HeuristicMixedException(String) - Constructor for class javax.transaction.HeuristicMixedException
 
HeuristicRollbackException - exception javax.transaction.HeuristicRollbackException.
This exception is thrown by the commit operation to report that a heuristic decision was made and that all relevant updates have been rolled back.
HeuristicRollbackException() - Constructor for class javax.transaction.HeuristicRollbackException
 
HeuristicRollbackException(String) - Constructor for class javax.transaction.HeuristicRollbackException
 

I

InvalidTransactionException - exception javax.transaction.InvalidTransactionException.
This exception indicates that the request carried an invalid transaction context.
InvalidTransactionException() - Constructor for class javax.transaction.InvalidTransactionException
 
InvalidTransactionException(String) - Constructor for class javax.transaction.InvalidTransactionException
 
isSameRM(XAResource) - Method in interface javax.transaction.xa.XAResource
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.

J

javax.transaction - package 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 - package 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.

M

MAXBQUALSIZE - Static variable in interface javax.transaction.xa.Xid
Maximum number of bytes returned by getBqual.
MAXGTRIDSIZE - Static variable in interface javax.transaction.xa.Xid
Maximum number of bytes returned by getGtrid.

N

NotSupportedException - exception javax.transaction.NotSupportedException.
NotSupportedException exception indicates that the request cannot be executed because the operation is not a supported feature.
NotSupportedException() - Constructor for class javax.transaction.NotSupportedException
 
NotSupportedException(String) - Constructor for class javax.transaction.NotSupportedException
 

P

prepare(Xid) - Method in interface javax.transaction.xa.XAResource
Ask the resource manager to prepare for a transaction commit of the transaction specified in xid.

R

recover(int) - Method in interface javax.transaction.xa.XAResource
Obtains a list of prepared transaction branches from a resource manager.
registerSynchronization(Synchronization) - Method in interface javax.transaction.Transaction
Register a synchronization object for the transaction currently associated with the target object.
resume(Transaction) - Method in interface javax.transaction.TransactionManager
Resume the transaction context association of the calling thread with the transaction represented by the supplied Transaction object.
rollback() - Method in interface javax.transaction.UserTransaction
Roll back the transaction associated with the current thread.
rollback() - Method in interface javax.transaction.Transaction
Rollback the transaction represented by this Transaction object.
rollback() - Method in interface javax.transaction.TransactionManager
Roll back the transaction associated with the current thread.
rollback(Xid) - Method in interface javax.transaction.xa.XAResource
Informs the resource manager to roll back work done on behalf of a transaction branch.
RollbackException - exception javax.transaction.RollbackException.
RollbackException exception is thrown when the transaction has been marked for rollback only or the transaction has been rolled back instead of committed.
RollbackException() - Constructor for class javax.transaction.RollbackException
 
RollbackException(String) - Constructor for class javax.transaction.RollbackException
 

S

setRollbackOnly() - Method in interface javax.transaction.UserTransaction
Modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction.
setRollbackOnly() - Method in interface javax.transaction.Transaction
Modify the transaction associated with the target object such that the only possible outcome of the transaction is to roll back the transaction.
setRollbackOnly() - Method in interface javax.transaction.TransactionManager
Modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction.
setTransactionTimeout(int) - Method in interface javax.transaction.UserTransaction
Modify the timeout value that is associated with transactions started by subsequent invocations of the begin method.
setTransactionTimeout(int) - Method in interface javax.transaction.TransactionManager
Modify the timeout value that is associated with transactions started by subsequent invocations of the begin method.
setTransactionTimeout(int) - Method in interface javax.transaction.xa.XAResource
Sets the current transaction timeout value for this XAResource instance.
start(Xid, int) - Method in interface javax.transaction.xa.XAResource
Starts work on behalf of a transaction branch specified in xid.
Status - interface javax.transaction.Status.
The Status interface defines static variables used for transaction status codes.
STATUS_ACTIVE - Static variable in interface javax.transaction.Status
A transaction is associated with the target object and it is in the active state.
STATUS_COMMITTED - Static variable in interface javax.transaction.Status
A transaction is associated with the target object and it has been committed.
STATUS_COMMITTING - Static variable in interface javax.transaction.Status
A transaction is associated with the target object and it is in the process of committing.
STATUS_MARKED_ROLLBACK - Static variable in interface javax.transaction.Status
A transaction is associated with the target object and it has been marked for rollback, perhaps as a result of a setRollbackOnly operation.
STATUS_NO_TRANSACTION - Static variable in interface javax.transaction.Status
No transaction is currently associated with the target object.
STATUS_PREPARED - Static variable in interface javax.transaction.Status
A transaction is associated with the target object and it has been prepared.
STATUS_PREPARING - Static variable in interface javax.transaction.Status
A transaction is associated with the target object and it is in the process of preparing.
STATUS_ROLLEDBACK - Static variable in interface javax.transaction.Status
A transaction is associated with the target object and the outcome has been determined to be rollback.
STATUS_ROLLING_BACK - Static variable in interface javax.transaction.Status
A transaction is associated with the target object and it is in the process of rolling back.
STATUS_UNKNOWN - Static variable in interface javax.transaction.Status
A transaction is associated with the target object but its current status cannot be determined.
suspend() - Method in interface javax.transaction.TransactionManager
Suspend the transaction currently associated with the calling thread and return a Transaction object that represents the transaction context being suspended.
Synchronization - interface javax.transaction.Synchronization.
The transaction manager supports a synchronization mechanism that allows the interested party to be notified before and after the transaction completes.
SystemException - exception javax.transaction.SystemException.
The SystemException is thrown by the transaction manager to indicate that it has encountered an unexpected error condition that prevents future transaction services from proceeding.
SystemException() - Constructor for class javax.transaction.SystemException
 
SystemException(int) - Constructor for class javax.transaction.SystemException
Create a SystemException with a given error code.
SystemException(String) - Constructor for class javax.transaction.SystemException
Create a SystemException with a given string.

T

TMENDRSCAN - Static variable in interface javax.transaction.xa.XAResource
Ends a recovery scan.
TMFAIL - Static variable in interface javax.transaction.xa.XAResource
Disassociates the caller and marks the transaction branch rollback-only.
TMJOIN - Static variable in interface javax.transaction.xa.XAResource
Caller is joining existing transaction branch.
TMNOFLAGS - Static variable in interface javax.transaction.xa.XAResource
Use TMNOFLAGS to indicate no flags value is selected.
TMONEPHASE - Static variable in interface javax.transaction.xa.XAResource
Caller is using one-phase optimization.
TMRESUME - Static variable in interface javax.transaction.xa.XAResource
Caller is resuming association with a suspended transaction branch.
TMSTARTRSCAN - Static variable in interface javax.transaction.xa.XAResource
Starts a recovery scan.
TMSUCCESS - Static variable in interface javax.transaction.xa.XAResource
Disassociates caller from a transaction branch.
TMSUSPEND - Static variable in interface javax.transaction.xa.XAResource
Caller is suspending (not ending) its association with a transaction branch.
Transaction - interface javax.transaction.Transaction.
The Transaction interface allows operations to be performed against the transaction in the target Transaction object.
TransactionManager - interface javax.transaction.TransactionManager.
The TransactionManager interface defines the methods that allow an application server to manage transaction boundaries.
TransactionRequiredException - exception javax.transaction.TransactionRequiredException.
This exception indicates that a request carried a null transaction context, but the target object requires an active transaction.
TransactionRequiredException() - Constructor for class javax.transaction.TransactionRequiredException
 
TransactionRequiredException(String) - Constructor for class javax.transaction.TransactionRequiredException
 
TransactionRolledbackException - exception javax.transaction.TransactionRolledbackException.
This exception indicates that the transaction associated with processing of the request has been rolled back, or it has been marked to roll back.
TransactionRolledbackException() - Constructor for class javax.transaction.TransactionRolledbackException
 
TransactionRolledbackException(String) - Constructor for class javax.transaction.TransactionRolledbackException
 

U

UserTransaction - interface javax.transaction.UserTransaction.
The UserTransaction interface defines the methods that allow an application to explicitly manage transaction boundaries.

X

XA_HEURCOM - Static variable in class javax.transaction.xa.XAException
The transaction branch has been heuristically committed.
XA_HEURHAZ - Static variable in class javax.transaction.xa.XAException
The transaction branch may have been heuristically completed.
XA_HEURMIX - Static variable in class javax.transaction.xa.XAException
The transaction branch has been heuristically committed and rolled back.
XA_HEURRB - Static variable in class javax.transaction.xa.XAException
The transaction branch has been heuristically rolled back.
XA_NOMIGRATE - Static variable in class javax.transaction.xa.XAException
Resumption must occur where the suspension occurred.
XA_OK - Static variable in interface javax.transaction.xa.XAResource
The transaction work has been prepared normally.
XA_RBBASE - Static variable in class javax.transaction.xa.XAException
The inclusive lower bound of the rollback codes.
XA_RBCOMMFAIL - Static variable in class javax.transaction.xa.XAException
Indicates that the rollback was caused by a communication failure.
XA_RBDEADLOCK - Static variable in class javax.transaction.xa.XAException
A deadlock was detected.
XA_RBEND - Static variable in class javax.transaction.xa.XAException
The inclusive upper bound of the rollback error code.
XA_RBINTEGRITY - Static variable in class javax.transaction.xa.XAException
A condition that violates the integrity of the resource was detected.
XA_RBOTHER - Static variable in class javax.transaction.xa.XAException
The resource manager rolled back the transaction branch for a reason not on this list.
XA_RBPROTO - Static variable in class javax.transaction.xa.XAException
A protocol error occurred in the resource manager.
XA_RBROLLBACK - Static variable in class javax.transaction.xa.XAException
Indicates that the rollback was caused by an unspecified reason.
XA_RBTIMEOUT - Static variable in class javax.transaction.xa.XAException
A transaction branch took too long.
XA_RBTRANSIENT - Static variable in class javax.transaction.xa.XAException
May retry the transaction branch.
XA_RDONLY - Static variable in interface javax.transaction.xa.XAResource
The transaction branch has been read-only and has been committed.
XA_RDONLY - Static variable in class javax.transaction.xa.XAException
The transaction branch was read-only and has been committed.
XA_RETRY - Static variable in class javax.transaction.xa.XAException
Routine returned with no effect and may be reissued.
XAER_ASYNC - Static variable in class javax.transaction.xa.XAException
There is an asynchronous operation already outstanding.
XAER_DUPID - Static variable in class javax.transaction.xa.XAException
The XID already exists.
XAER_INVAL - Static variable in class javax.transaction.xa.XAException
Invalid arguments were given.
XAER_NOTA - Static variable in class javax.transaction.xa.XAException
The XID is not valid.
XAER_OUTSIDE - Static variable in class javax.transaction.xa.XAException
The resource manager is doing work outside a global transaction.
XAER_PROTO - Static variable in class javax.transaction.xa.XAException
Routine was invoked in an improper context.
XAER_RMERR - Static variable in class javax.transaction.xa.XAException
A resource manager error has occurred in the transaction branch.
XAER_RMFAIL - Static variable in class javax.transaction.xa.XAException
Resource manager is unavailable.
XAException - exception javax.transaction.xa.XAException.
The XAException is thrown by the Resource Manager (RM) to inform the Transaction Manager of an error encountered by the involved transaction.
XAException() - Constructor for class javax.transaction.xa.XAException
Create an XAException.
XAException(int) - Constructor for class javax.transaction.xa.XAException
Create an XAException with a given error code.
XAException(String) - Constructor for class javax.transaction.xa.XAException
Create an XAException with a given string.
XAResource - interface javax.transaction.xa.XAResource.
The XAResource interface is a Java mapping of the industry standard XA interface based on the X/Open CAE Specification (Distributed Transaction Processing: The XA Specification).
Xid - interface javax.transaction.xa.Xid.
The Xid interface is a Java mapping of the X/Open transaction identifier XID structure.

A B C D E F G H I J M N P R S T U X