Index

A B C D E G H I J M N P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

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

B

beforeCompletion() - Method in interface jakarta.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 jakarta.transaction.TransactionManager
Create a new transaction and associate it with the current thread.
begin() - Method in interface jakarta.transaction.UserTransaction
Create a new transaction and associate it with the current thread.

C

commit() - Method in interface jakarta.transaction.Transaction
Complete the transaction represented by this Transaction object.
commit() - Method in interface jakarta.transaction.TransactionManager
Complete the transaction associated with the current thread.
commit() - Method in interface jakarta.transaction.UserTransaction
Complete the transaction associated with the current thread.

D

delistResource(XAResource, int) - Method in interface jakarta.transaction.Transaction
Disassociate the resource specified from the transaction associated with the target Transaction object.
dontRollbackOn() - Element in annotation interface jakarta.transaction.Transactional
The dontRollbackOn element can be set to indicate exceptions that must not cause the interceptor to mark the transaction for rollback.

E

enlistResource(XAResource) - Method in interface jakarta.transaction.Transaction
Enlist the resource specified with the transaction associated with the target Transaction object.
errorCode - Variable in exception class jakarta.transaction.SystemException
The error code with which to create the SystemException.

G

getResource(Object) - Method in interface jakarta.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 jakarta.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 jakarta.transaction.Transaction
Obtain the status of the transaction associated with the target Transaction object.
getStatus() - Method in interface jakarta.transaction.TransactionManager
Obtain the status of the transaction associated with the current thread.
getStatus() - Method in interface jakarta.transaction.UserTransaction
Obtain the status of the transaction associated with the current thread.
getTransaction() - Method in interface jakarta.transaction.TransactionManager
Get the transaction object that represents the transaction context of the calling thread.
getTransactionKey() - Method in interface jakarta.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 jakarta.transaction.TransactionSynchronizationRegistry
Return the status of the transaction bound to the current thread at the time this method is called.

H

HeuristicCommitException - Exception Class in jakarta.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 jakarta.transaction.HeuristicCommitException
 
HeuristicCommitException(String) - Constructor for exception class jakarta.transaction.HeuristicCommitException
 
HeuristicMixedException - Exception Class in jakarta.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 jakarta.transaction.HeuristicMixedException
 
HeuristicMixedException(String) - Constructor for exception class jakarta.transaction.HeuristicMixedException
 
HeuristicRollbackException - Exception Class in jakarta.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 jakarta.transaction.HeuristicRollbackException
 
HeuristicRollbackException(String) - Constructor for exception class jakarta.transaction.HeuristicRollbackException
 

I

InvalidTransactionException - Exception Class in jakarta.transaction
This exception indicates that the request carried an invalid transaction context.
InvalidTransactionException() - Constructor for exception class jakarta.transaction.InvalidTransactionException
 
InvalidTransactionException(String) - Constructor for exception class jakarta.transaction.InvalidTransactionException
 

J

jakarta.transaction - module jakarta.transaction
 
jakarta.transaction - package jakarta.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.

M

MANDATORY - Enum constant in enum class jakarta.transaction.Transactional.TxType
If called outside a transaction context, a TransactionalException with a nested TransactionRequiredException must be thrown.

N

NEVER - Enum constant in enum class jakarta.transaction.Transactional.TxType
If called outside a transaction context, managed bean method execution must then continue outside a transaction context.
NOT_SUPPORTED - Enum constant in enum class jakarta.transaction.Transactional.TxType
If called outside a transaction context, managed bean method execution must then continue outside a transaction context.
NotSupportedException - Exception Class in jakarta.transaction
NotSupportedException exception indicates that the request cannot be executed because the operation is not a supported feature.
NotSupportedException() - Constructor for exception class jakarta.transaction.NotSupportedException
 
NotSupportedException(String) - Constructor for exception class jakarta.transaction.NotSupportedException
 

P

putResource(Object, Object) - Method in interface jakarta.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

registerInterposedSynchronization(Synchronization) - Method in interface jakarta.transaction.TransactionSynchronizationRegistry
Register a Synchronization instance with special ordering semantics.
registerSynchronization(Synchronization) - Method in interface jakarta.transaction.Transaction
Register a synchronization object for the transaction currently associated with the target object.
REQUIRED - Enum constant in enum class jakarta.transaction.Transactional.TxType
If called outside a transaction context, the interceptor must begin a new Jakarta Transactions transaction, the managed bean method execution must then continue inside this transaction context, and the transaction must be completed by the interceptor.
REQUIRES_NEW - Enum constant in enum class jakarta.transaction.Transactional.TxType
If called outside a transaction context, the interceptor must begin a new Jakarta Transactions transaction, the managed bean method execution must then continue inside this transaction context, and the transaction must be completed by the interceptor.
resume(Transaction) - Method in interface jakarta.transaction.TransactionManager
Resume the transaction context association of the calling thread with the transaction represented by the supplied Transaction object.
rollback() - Method in interface jakarta.transaction.Transaction
Rollback the transaction represented by this Transaction object.
rollback() - Method in interface jakarta.transaction.TransactionManager
Roll back the transaction associated with the current thread.
rollback() - Method in interface jakarta.transaction.UserTransaction
Roll back the transaction associated with the current thread.
RollbackException - Exception Class in jakarta.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 jakarta.transaction.RollbackException
 
RollbackException(String) - Constructor for exception class jakarta.transaction.RollbackException
 
rollbackOn() - Element in annotation interface jakarta.transaction.Transactional
The rollbackOn element can be set to indicate exceptions that must cause the interceptor to mark the transaction for rollback.

S

serialVersionUID - Static variable in exception class jakarta.transaction.HeuristicCommitException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.HeuristicMixedException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.HeuristicRollbackException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.InvalidTransactionException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.NotSupportedException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.RollbackException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.SystemException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.TransactionalException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.TransactionRequiredException
Specify serialVersionUID for backward compatibility
serialVersionUID - Static variable in exception class jakarta.transaction.TransactionRolledbackException
Specify serialVersionUID for backward compatibility
setRollbackOnly() - Method in interface jakarta.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 jakarta.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 jakarta.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 jakarta.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 jakarta.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 jakarta.transaction.UserTransaction
Modify the timeout value that is associated with transactions started by the current thread with the begin method.
Status - Interface in jakarta.transaction
The Status interface defines static variables used for transaction status codes.
STATUS_ACTIVE - Static variable in interface jakarta.transaction.Status
A transaction is associated with the target object and it is in the active state.
STATUS_COMMITTED - Static variable in interface jakarta.transaction.Status
A transaction is associated with the target object and it has been committed.
STATUS_COMMITTING - Static variable in interface jakarta.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 jakarta.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 jakarta.transaction.Status
No transaction is currently associated with the target object.
STATUS_PREPARED - Static variable in interface jakarta.transaction.Status
A transaction is associated with the target object and it has been prepared.
STATUS_PREPARING - Static variable in interface jakarta.transaction.Status
A transaction is associated with the target object and it is in the process of preparing.
STATUS_ROLLEDBACK - Static variable in interface jakarta.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 jakarta.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 jakarta.transaction.Status
A transaction is associated with the target object but its current status cannot be determined.
SUPPORTS - Enum constant in enum class jakarta.transaction.Transactional.TxType
If called outside a transaction context, managed bean method execution must then continue outside a transaction context.
suspend() - Method in interface jakarta.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 jakarta.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 jakarta.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 jakarta.transaction.SystemException
 
SystemException(int) - Constructor for exception class jakarta.transaction.SystemException
Create a SystemException with a given error code.
SystemException(String) - Constructor for exception class jakarta.transaction.SystemException
Create a SystemException with a given string.

T

Transaction - Interface in jakarta.transaction
The Transaction interface allows operations to be performed against the transaction in the target Transaction object.
Transactional - Annotation Interface in jakarta.transaction
The jakarta.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 Jakarta EE specification, at both the class and method level where method level annotations override those at the class level.
Transactional.TxType - Enum Class in jakarta.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 Class in jakarta.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 class jakarta.transaction.TransactionalException
 
TransactionManager - Interface in jakarta.transaction
The TransactionManager interface defines the methods that allow an application server to manage transaction boundaries.
TransactionRequiredException - Exception Class in jakarta.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 jakarta.transaction.TransactionRequiredException
 
TransactionRequiredException(String) - Constructor for exception class jakarta.transaction.TransactionRequiredException
 
TransactionRolledbackException - Exception Class in jakarta.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 jakarta.transaction.TransactionRolledbackException
 
TransactionRolledbackException(String) - Constructor for exception class jakarta.transaction.TransactionRolledbackException
 
TransactionScoped - Annotation Interface in jakarta.transaction
The jakarta.transaction.TransactionScoped annotation provides the ability to specify a standard CDI scope to define bean instances whose lifecycle is scoped to the currently active Jakarta Transactions transaction.
TransactionSynchronizationRegistry - Interface in jakarta.transaction
This interface is intended for use by system level application server components such as persistence managers, resource adapters, as well as Jakarta Enterprise Beans and Web application components.
TxType() - Constructor for enum class jakarta.transaction.Transactional.TxType
 

U

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

V

value() - Element in annotation interface jakarta.transaction.Transactional
The TxType element of the Transactional annotation indicates whether a bean method is to be executed within a transaction context.
valueOf(String) - Static method in enum class jakarta.transaction.Transactional.TxType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class jakarta.transaction.Transactional.TxType
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E G H I J M N P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form