Interface | Description |
---|---|
Status |
The Status interface defines the constants for transaction status codes.
|
Synchronization |
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.
|
Transaction |
The Transaction interface allows operations to be performed on
transactions.
|
TransactionManager |
The TransactionManager interface defines the methods that allow an
application server to manage transactions on behalf of the applications.
|
TransactionSynchronizationRegistry |
TransactionSynchronizationRegistry.
|
UserTransaction |
This interface allows an application to explicitly manage transactions.
|
Enum | Description |
---|---|
Transactional.TxType |
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.
|
Exception | Description |
---|---|
HeuristicCommitException |
This exception is meant to be thrown by the rollback operation on
a resource to report that a heuristic decision was made and that all
relevant updates have been committed.
|
HeuristicMixedException |
This exception is thrown to report that a heuristic decision was made and
that some some parts of the transaction have been committed while other
parts have been rolled back.
|
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.
|
InvalidTransactionException |
This exception indicates an invalid transaction.
|
NotSupportedException |
The NotSupportedException exception indicates that an operation is not
supported.
|
RollbackException |
The RollbackException exception indicates that either the transaction
has been rolled back or an operation cannot complete because the
transaction is marked for rollback only.
|
SystemException |
This exception is thrown to indicate that the transaction manager has
encountered an unexpected error condition that prevents future
transaction services from proceeding.
|
TransactionalException |
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.
|
TransactionRequiredException |
This exception indicates that a remote invocation request carried a null
transaction context, but that an active transaction context was needed.
|
TransactionRolledbackException |
This exception indicates that the transaction context carried in the
remote invocation has been rolled back, or was marked for roll back only.
|
Annotation Type | Description |
---|---|
Transactional |
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.
|
TransactionScoped |
Annotation used to indicate a bean is to be scoped to the current active
JTA transaction.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.