Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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.TransactionManager
-
Create a new transaction and associate it with the current thread.
- begin() - Method in interface javax.transaction.UserTransaction
-
Create a new transaction and associate it with the current thread.
C
- 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() - Method in interface javax.transaction.UserTransaction
-
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 exception class javax.transaction.SystemException
-
The error code with which to create the SystemException.
- errorCode - Variable in exception 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.
- getResource(Object) - Method in interface javax.transaction.TransactionSynchronizationRegistry
-
Get an object from the Map of resources being managed for the transaction bound to the current thread at the time this method is called.
- getRollbackOnly() - Method in interface javax.transaction.TransactionSynchronizationRegistry
-
Get the rollbackOnly status of the transaction bound to the current thread at the time this method is called.
- 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.
- getStatus() - Method in interface javax.transaction.UserTransaction
-
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.
- getTransactionKey() - Method in interface javax.transaction.TransactionSynchronizationRegistry
-
Return an opaque object to represent the transaction bound to the current thread at the time this method is called.
- getTransactionStatus() - Method in interface javax.transaction.TransactionSynchronizationRegistry
-
Return the status of the transaction bound to the current thread at the time this method is called.
- getTransactionTimeout() - Method in interface javax.transaction.xa.XAResource
-
Obtains the current transaction timeout value set for this XAResource instance.
H
- HeuristicCommitException - Exception Class in javax.transaction
-
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 exception class javax.transaction.HeuristicCommitException
- HeuristicCommitException(String) - Constructor for exception class javax.transaction.HeuristicCommitException
- HeuristicMixedException - Exception Class in javax.transaction
-
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 exception class javax.transaction.HeuristicMixedException
- HeuristicMixedException(String) - Constructor for exception class javax.transaction.HeuristicMixedException
- HeuristicRollbackException - Exception Class in javax.transaction
-
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 exception class javax.transaction.HeuristicRollbackException
- HeuristicRollbackException(String) - Constructor for exception class javax.transaction.HeuristicRollbackException
I
- InvalidTransactionException - Exception Class in javax.transaction
-
This exception indicates that the request carried an invalid transaction context.
- InvalidTransactionException() - Constructor for exception class javax.transaction.InvalidTransactionException
- InvalidTransactionException(String) - Constructor for exception 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
- javax.transaction.xa - package javax.transaction.xa
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 Class in javax.transaction
-
NotSupportedException exception indicates that the request cannot be executed because the operation is not a supported feature.
- NotSupportedException() - Constructor for exception class javax.transaction.NotSupportedException
- NotSupportedException(String) - Constructor for exception 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.
- putResource(Object, Object) - Method in interface javax.transaction.TransactionSynchronizationRegistry
-
Add or replace an object in the Map of resources being managed for the transaction bound to the current thread at the time this method is called.
R
- recover(int) - Method in interface javax.transaction.xa.XAResource
-
Obtains a list of prepared transaction branches from a resource manager.
- registerInterposedSynchronization(Synchronization) - Method in interface javax.transaction.TransactionSynchronizationRegistry
-
Register a Synchronization instance with special ordering semantics.
- 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.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() - Method in interface javax.transaction.UserTransaction
-
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 Class in javax.transaction
-
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 exception class javax.transaction.RollbackException
- RollbackException(String) - Constructor for exception class javax.transaction.RollbackException
S
- 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.
- setRollbackOnly() - Method in interface javax.transaction.TransactionSynchronizationRegistry
-
Set the rollbackOnly status of the transaction bound to the current thread at the time this method is called.
- 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.
- setTransactionTimeout(int) - Method in interface javax.transaction.TransactionManager
-
Modify the timeout value that is associated with transactions started by the current thread with the begin method.
- setTransactionTimeout(int) - Method in interface javax.transaction.UserTransaction
-
Modify the timeout value that is associated with transactions started by the current thread with the begin method.
- setTransactionTimeout(int) - Method in interface javax.transaction.xa.XAResource
-
Sets the current transaction timeout value for this
XAResourceinstance. - start(Xid, int) - Method in interface javax.transaction.xa.XAResource
-
Starts work on behalf of a transaction branch specified in
xid. - Status - Interface in javax.transaction
-
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 in javax.transaction
-
The transaction manager supports a synchronization mechanism that allows the interested party to be notified before and after the transaction completes.
- SystemException - Exception Class in javax.transaction
-
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 exception class javax.transaction.SystemException
- SystemException(int) - Constructor for exception class javax.transaction.SystemException
-
Create a SystemException with a given error code.
- SystemException(String) - Constructor for exception 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 in javax.transaction
-
The Transaction interface allows operations to be performed against the transaction in the target Transaction object.
- TransactionManager - Interface in javax.transaction
-
The TransactionManager interface defines the methods that allow an application server to manage transaction boundaries.
- TransactionRequiredException - Exception Class in javax.transaction
-
This exception indicates that a request carried a null transaction context, but the target object requires an active transaction.
- TransactionRequiredException() - Constructor for exception class javax.transaction.TransactionRequiredException
- TransactionRequiredException(String) - Constructor for exception class javax.transaction.TransactionRequiredException
- TransactionRolledbackException - Exception Class in javax.transaction
-
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 exception class javax.transaction.TransactionRolledbackException
- TransactionRolledbackException(String) - Constructor for exception class javax.transaction.TransactionRolledbackException
- TransactionSynchronizationRegistry - Interface in javax.transaction
-
This interface is intended for use by system level application server components such as persistence managers, resource adapters, as well as EJB and Web application components.
U
- UserTransaction - Interface in javax.transaction
-
The UserTransaction interface defines the methods that allow an application to explicitly manage transaction boundaries.
X
- XA_HEURCOM - Static variable in exception class javax.transaction.xa.XAException
-
The transaction branch has been heuristically committed.
- XA_HEURHAZ - Static variable in exception class javax.transaction.xa.XAException
-
The transaction branch may have been heuristically completed.
- XA_HEURMIX - Static variable in exception class javax.transaction.xa.XAException
-
The transaction branch has been heuristically committed and rolled back.
- XA_HEURRB - Static variable in exception class javax.transaction.xa.XAException
-
The transaction branch has been heuristically rolled back.
- XA_NOMIGRATE - Static variable in exception 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 exception class javax.transaction.xa.XAException
-
The inclusive lower bound of the rollback codes.
- XA_RBCOMMFAIL - Static variable in exception class javax.transaction.xa.XAException
-
Indicates that the rollback was caused by a communication failure.
- XA_RBDEADLOCK - Static variable in exception class javax.transaction.xa.XAException
-
A deadlock was detected.
- XA_RBEND - Static variable in exception class javax.transaction.xa.XAException
-
The inclusive upper bound of the rollback error code.
- XA_RBINTEGRITY - Static variable in exception class javax.transaction.xa.XAException
-
A condition that violates the integrity of the resource was detected.
- XA_RBOTHER - Static variable in exception 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 exception class javax.transaction.xa.XAException
-
A protocol error occurred in the resource manager.
- XA_RBROLLBACK - Static variable in exception class javax.transaction.xa.XAException
-
Indicates that the rollback was caused by an unspecified reason.
- XA_RBTIMEOUT - Static variable in exception class javax.transaction.xa.XAException
-
A transaction branch took too long.
- XA_RBTRANSIENT - Static variable in exception class javax.transaction.xa.XAException
-
May retry the transaction branch.
- XA_RDONLY - Static variable in exception class javax.transaction.xa.XAException
-
The transaction branch was read-only and has been committed.
- XA_RDONLY - Static variable in interface javax.transaction.xa.XAResource
-
The transaction branch has been read-only and has been committed.
- XA_RETRY - Static variable in exception class javax.transaction.xa.XAException
-
Routine returned with no effect and may be reissued.
- XAER_ASYNC - Static variable in exception class javax.transaction.xa.XAException
-
There is an asynchronous operation already outstanding.
- XAER_DUPID - Static variable in exception class javax.transaction.xa.XAException
-
The XID already exists.
- XAER_INVAL - Static variable in exception class javax.transaction.xa.XAException
-
Invalid arguments were given.
- XAER_NOTA - Static variable in exception class javax.transaction.xa.XAException
-
The XID is not valid.
- XAER_OUTSIDE - Static variable in exception class javax.transaction.xa.XAException
-
The resource manager is doing work outside a global transaction.
- XAER_PROTO - Static variable in exception class javax.transaction.xa.XAException
-
Routine was invoked in an improper context.
- XAER_RMERR - Static variable in exception class javax.transaction.xa.XAException
-
A resource manager error has occurred in the transaction branch.
- XAER_RMFAIL - Static variable in exception class javax.transaction.xa.XAException
-
Resource manager is unavailable.
- XAException - Exception Class in javax.transaction.xa
-
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 exception class javax.transaction.xa.XAException
-
Create an XAException.
- XAException(int) - Constructor for exception class javax.transaction.xa.XAException
-
Create an XAException with a given error code.
- XAException(String) - Constructor for exception class javax.transaction.xa.XAException
-
Create an XAException with a given string.
- XAResource - Interface in javax.transaction.xa
-
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 in javax.transaction.xa
-
The Xid interface is a Java mapping of the X/Open transaction identifier XID structure.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form