- 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.
- 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 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 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 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 javax.transaction.SystemException
-
- SystemException(String) - Constructor for exception javax.transaction.SystemException
-
Create a SystemException with a given string.
- SystemException(int) - Constructor for exception javax.transaction.SystemException
-
Create a SystemException with a given error code.
- 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.
- Transactional - Annotation Type in javax.transaction
-
The javax.transaction.Transactional annotation provides the application
the ability to declaratively control transaction boundaries on CDI managed beans, as
well as classes defined as managed beans by the Java EE specification, at both the class
and method level where method level annotations override those at the class level.
- Transactional.TxType - Enum in javax.transaction
-
The TxType element of the annotation indicates whether a bean method is to be
executed within a transaction context where the values provide the following
corresponding behavior.
- TransactionalException - Exception in javax.transaction
-
The TransactionalException thrown from the Transactional interceptors
implementation contains the original exception as its nested exception
and is a RuntimeException, therefore, by default any
transaction that was started as a result of a Transactional annotation
earlier in the call stream will be marked for rollback as a result of
the TransactionalException being thrown by the Transactional interceptor
of the second bean.
- TransactionalException(String, Throwable) - Constructor for exception javax.transaction.TransactionalException
-
- TransactionManager - Interface in javax.transaction
-
The TransactionManager interface defines the methods that allow an
application server to manage transaction boundaries.
- TransactionRequiredException - Exception 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 javax.transaction.TransactionRequiredException
-
- TransactionRequiredException(String) - Constructor for exception javax.transaction.TransactionRequiredException
-
- TransactionRolledbackException - Exception 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 javax.transaction.TransactionRolledbackException
-
- TransactionRolledbackException(String) - Constructor for exception javax.transaction.TransactionRolledbackException
-
- TransactionScoped - Annotation Type in javax.transaction
-
The javax.transaction.TransactionScoped annotation provides the ability to
specify a standard CDI scope to define bean instances whose lifecycle is
scoped to the currently active JTA transaction.
- 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.
- XA_HEURCOM - Static variable in exception javax.transaction.xa.XAException
-
The transaction branch has been heuristically committed.
- XA_HEURHAZ - Static variable in exception javax.transaction.xa.XAException
-
The transaction branch may have been heuristically completed.
- XA_HEURMIX - Static variable in exception javax.transaction.xa.XAException
-
The transaction branch has been heuristically committed and
rolled back.
- XA_HEURRB - Static variable in exception javax.transaction.xa.XAException
-
The transaction branch has been heuristically rolled back.
- XA_NOMIGRATE - Static variable in exception 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 javax.transaction.xa.XAException
-
The inclusive lower bound of the rollback codes.
- XA_RBCOMMFAIL - Static variable in exception javax.transaction.xa.XAException
-
Indicates that the rollback was caused by a communication failure.
- XA_RBDEADLOCK - Static variable in exception javax.transaction.xa.XAException
-
A deadlock was detected.
- XA_RBEND - Static variable in exception javax.transaction.xa.XAException
-
The inclusive upper bound of the rollback error code.
- XA_RBINTEGRITY - Static variable in exception javax.transaction.xa.XAException
-
A condition that violates the integrity of the resource was detected.
- XA_RBOTHER - Static variable in exception 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 javax.transaction.xa.XAException
-
A protocol error occurred in the resource manager.
- XA_RBROLLBACK - Static variable in exception javax.transaction.xa.XAException
-
Indicates that the rollback was caused by an unspecified reason.
- XA_RBTIMEOUT - Static variable in exception javax.transaction.xa.XAException
-
A transaction branch took too long.
- XA_RBTRANSIENT - Static variable in exception javax.transaction.xa.XAException
-
May retry the transaction branch.
- XA_RDONLY - Static variable in exception 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 javax.transaction.xa.XAException
-
Routine returned with no effect and may be reissued.
- XAER_ASYNC - Static variable in exception javax.transaction.xa.XAException
-
There is an asynchronous operation already outstanding.
- XAER_DUPID - Static variable in exception javax.transaction.xa.XAException
-
The XID already exists.
- XAER_INVAL - Static variable in exception javax.transaction.xa.XAException
-
Invalid arguments were given.
- XAER_NOTA - Static variable in exception javax.transaction.xa.XAException
-
The XID is not valid.
- XAER_OUTSIDE - Static variable in exception javax.transaction.xa.XAException
-
The resource manager is doing work outside a global transaction.
- XAER_PROTO - Static variable in exception javax.transaction.xa.XAException
-
Routine was invoked in an improper context.
- XAER_RMERR - Static variable in exception javax.transaction.xa.XAException
-
A resource manager error has occurred in the transaction branch.
- XAER_RMFAIL - Static variable in exception javax.transaction.xa.XAException
-
Resource manager is unavailable.
- XAException - Exception 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 javax.transaction.xa.XAException
-
Create an XAException.
- XAException(String) - Constructor for exception javax.transaction.xa.XAException
-
Create an XAException with a given string.
- XAException(int) - Constructor for exception javax.transaction.xa.XAException
-
Create an XAException with a given error code.
- 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.