- setRollbackOnly() - Method in interface javax.transaction.Transaction
-
Mark the transaction so that the only possible outcome is a rollback.
- setRollbackOnly() - Method in interface javax.transaction.TransactionManager
-
Mark the transaction associated with the calling thread for rollback
only.
- setRollbackOnly() - Method in interface javax.transaction.TransactionSynchronizationRegistry
-
Set the transaction associated with the current thread to force a rollback
- setRollbackOnly() - Method in interface javax.transaction.UserTransaction
-
Mark the transaction associated with the calling thread for rollback
only.
- setTransactionTimeout(int) - Method in interface javax.transaction.TransactionManager
-
- setTransactionTimeout(int) - Method in interface javax.transaction.UserTransaction
-
Change the transaction timeout for transactions started by the calling
thread with the
UserTransaction.begin()
method.
- setTransactionTimeout(int) - Method in interface javax.transaction.xa.XAResource
-
Set the transaction timeout value for this resource.
- start(Xid, int) - Method in interface javax.transaction.xa.XAResource
-
Called to associate the resource with a transaction.
- Status - Interface in javax.transaction
-
The Status interface defines the constants for transaction status codes.
- STATUS_ACTIVE - Static variable in interface javax.transaction.Status
-
Status code indicating an active transaction.
- STATUS_COMMITTED - Static variable in interface javax.transaction.Status
-
Status code indicating a transaction that has been committed.
- STATUS_COMMITTING - Static variable in interface javax.transaction.Status
-
Status code indicating a transaction that has begun the second
phase of the two-phase commit protocol, but not yet completed
this phase.
- STATUS_MARKED_ROLLBACK - Static variable in interface javax.transaction.Status
-
Status code indicating a transaction that has been marked for
rollback only.
- STATUS_NO_TRANSACTION - Static variable in interface javax.transaction.Status
-
Status code indicating that no transaction exists.
- STATUS_PREPARED - Static variable in interface javax.transaction.Status
-
Status code indicating a transaction that has completed the first
phase of the two-phase commit protocol, but not yet begun the
second phase.
- STATUS_PREPARING - Static variable in interface javax.transaction.Status
-
Status code indicating a transaction that has begun the first
phase of the two-phase commit protocol, not not yet completed
this phase.
- STATUS_ROLLEDBACK - Static variable in interface javax.transaction.Status
-
Status code indicating a transaction that has been rolled back.
- STATUS_ROLLING_BACK - Static variable in interface javax.transaction.Status
-
Status code indicating a transaction that is in the process of
rolling back.
- STATUS_UNKNOWN - Static variable in interface javax.transaction.Status
-
Status code indicating that the transaction status could not be
determined.
- suspend() - Method in interface javax.transaction.TransactionManager
-
Suspend the association the calling thread has to a transaction,
and return the suspended transaction.
- Synchronization - Interface in javax.transaction
-
This is the callback interface that has to be implemented by objects
interested in receiving notification before and after a transaction
commits or rolls back.
- SystemException - Exception in javax.transaction
-
This exception is thrown to indicate that the transaction manager has
encountered an unexpected error condition that prevents future
transaction services from proceeding.
- SystemException() - Constructor for exception javax.transaction.SystemException
-
Creates a new SystemException
without a detail message.
- SystemException(String) - Constructor for exception javax.transaction.SystemException
-
Constructs an SystemException
with the specified
detail message.
- SystemException(int) - Constructor for exception javax.transaction.SystemException
-
Constructs an SystemException
with the specified
detail message.
- TMENDRSCAN - Static variable in interface javax.transaction.xa.XAResource
-
Flag value for the
recover
method indicating
that the resource manager should end the current recovery scan.
- TMFAIL - Static variable in interface javax.transaction.xa.XAResource
-
Flag value for the
end
method indicating that
the transaction should be disassociated, and that the work has
failed
- TMJOIN - Static variable in interface javax.transaction.xa.XAResource
-
Flag value for the
start
method indicating
that the resource should associate with a transaction previously seen
by this resource manager.
- TMNOFLAGS - Static variable in interface javax.transaction.xa.XAResource
-
Flag value indicating that no flags are set.
- TMONEPHASE - Static variable in interface javax.transaction.xa.XAResource
-
JTA specifies this constant and states that it indicates that the
caller is using one-phase optimization, but this constant seems
not to be used by JTA.
- TMRESUME - Static variable in interface javax.transaction.xa.XAResource
-
Flag value for the
start
method indicating
that the resource should associate with a transaction where the
association was suspended.
- TMSTARTRSCAN - Static variable in interface javax.transaction.xa.XAResource
-
Flag value for the
recover
method indicating
that the resource manager should start a new recovery scan.
- TMSUCCESS - Static variable in interface javax.transaction.xa.XAResource
-
Flag value for the
end
method indicating that
the transaction should be disassociated, and that the work has
completed sucessfully.
- TMSUSPEND - Static variable in interface javax.transaction.xa.XAResource
-
Flag value for the
end
method indicating that
the resource should temporarily suspend the association with the
transaction.
- Transaction - Interface in javax.transaction
-
The Transaction interface allows operations to be performed on
transactions.
- 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 Transactional annotation 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
-
Create a TransactionalException with a given string and nested Throwable.
- TransactionManager - Interface in javax.transaction
-
The TransactionManager interface defines the methods that allow an
application server to manage transactions on behalf of the applications.
- TransactionRequiredException - Exception in javax.transaction
-
This exception indicates that a remote invocation request carried a null
transaction context, but that an active transaction context was needed.
- TransactionRequiredException() - Constructor for exception javax.transaction.TransactionRequiredException
-
Creates a new TransactionRequiredException
without a
detail message.
- TransactionRequiredException(String) - Constructor for exception javax.transaction.TransactionRequiredException
-
Constructs an TransactionRequiredException
with the
specified detail message.
- TransactionRolledbackException - Exception in javax.transaction
-
This exception indicates that the transaction context carried in the
remote invocation has been rolled back, or was marked for roll back only.
- TransactionRolledbackException() - Constructor for exception javax.transaction.TransactionRolledbackException
-
Creates a new TransactionRolledbackException
without
a detail message.
- TransactionRolledbackException(String) - Constructor for exception javax.transaction.TransactionRolledbackException
-
Constructs an TransactionRolledbackException
with the
specified detail message.
- TransactionScoped - Annotation Type in javax.transaction
-
Annotation used to indicate a bean is to be scoped to the current active
JTA transaction.
- TransactionSynchronizationRegistry - Interface in javax.transaction
-
TransactionSynchronizationRegistry.
- XA_HEURCOM - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that a heuristic commit decision was made.
- XA_HEURHAZ - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that a heuristic decision may have been made.
- XA_HEURMIX - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that a heuristic mixed decision was made.
- XA_HEURRB - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that a heuristic rollback decision was made.
- XA_NOMIGRATE - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that the transaction resumption must happen
where the suspension occurred.
- XA_OK - Static variable in interface javax.transaction.xa.XAResource
-
Value returned from the
prepare
method to
indicate that the resource has successfully prepared to commit
the transaction.
- XA_RBBASE - Static variable in exception javax.transaction.xa.XAException
-
This is not an error code, but the same as the rollback error code
with the lowest number.
- XA_RBCOMMFAIL - Static variable in exception javax.transaction.xa.XAException
-
Rollback error code indicating that the rollback happened due to a
communications failure.
- XA_RBDEADLOCK - Static variable in exception javax.transaction.xa.XAException
-
Rollback error code indicating that the rollback happened because
deadlock was detected.
- XA_RBEND - Static variable in exception javax.transaction.xa.XAException
-
This is not an error code, but the same as the rollback error code
with the highest number.
- XA_RBINTEGRITY - Static variable in exception javax.transaction.xa.XAException
-
Rollback error code indicating that the rollback happened because
an internal integrity check failed.
- XA_RBOTHER - Static variable in exception javax.transaction.xa.XAException
-
Rollback error code indicating that the rollback happened for some
reason not fitting any of the other rollback error codes.
- XA_RBPROTO - Static variable in exception javax.transaction.xa.XAException
-
Rollback error code indicating that the rollback happened due to
a protocol error in the resource manager.
- XA_RBROLLBACK - Static variable in exception javax.transaction.xa.XAException
-
Rollback error code indicating that the rollback happened for
an unspecified reason.
- XA_RBTIMEOUT - Static variable in exception javax.transaction.xa.XAException
-
Rollback error code indicating that the rollback happened because
of a timeout.
- XA_RBTRANSIENT - Static variable in exception javax.transaction.xa.XAException
-
Rollback error code indicating that the rollback happened due to a
transient failure.
- XA_RDONLY - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that the transaction branch was read-only,
and has already been committed.
- XA_RDONLY - Static variable in interface javax.transaction.xa.XAResource
-
Value returned from the
prepare
method to
indicate that the resource was not changed in this transaction.
- XA_RETRY - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that the method invoked returned without having
any effect, and that it may be invoked again.
- XAER_ASYNC - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that an asynchronous operation is outstanding.
- XAER_DUPID - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that a Xid given as an argument is already
known to the resource manager.
- XAER_INVAL - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that invalid arguments were passed.
- XAER_NOTA - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that an
Xid
is not valid.
- XAER_OUTSIDE - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that the resource manager is doing work
outside the global transaction.
- XAER_PROTO - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating a protocol error.
- XAER_RMERR - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that a resource manager error has occurred.
- XAER_RMFAIL - Static variable in exception javax.transaction.xa.XAException
-
Error code indicating that the resource manager has failed and is
not available.
- XAException - Exception in javax.transaction.xa
-
The XAException is thrown by resource managers in case of problems.
- XAException() - Constructor for exception javax.transaction.xa.XAException
-
Creates new XAException
without detail message.
- XAException(String) - Constructor for exception javax.transaction.xa.XAException
-
Constructs an XAException
with the specified detail
message.
- XAException(int) - Constructor for exception javax.transaction.xa.XAException
-
Constructs an XAException
for the specified 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.