A B C D E G H I J M N P R S T U V 
All Classes All Packages

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.

D

delistResource(XAResource, int) - Method in interface javax.transaction.Transaction
Disassociate the resource specified from the transaction associated with the target Transaction object.
dontRollbackOn() - Method in annotation type javax.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 javax.transaction.Transaction
Enlist the resource specified with the transaction associated with the target Transaction object.
errorCode - Variable in exception javax.transaction.SystemException
The error code with which to create the SystemException.

G

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.

H

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

I

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

J

javax.transaction - package javax.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 - javax.transaction.Transactional.TxType
If called outside a transaction context, a TransactionalException with a nested TransactionRequiredException must be thrown.

N

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

P

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

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.
REQUIRED - javax.transaction.Transactional.TxType
If called outside a transaction context, the interceptor must begin a new JTA transaction, the managed bean method execution must then continue inside this transaction context, and the transaction must be completed by the interceptor.
REQUIRES_NEW - javax.transaction.Transactional.TxType
If called outside a transaction context, the interceptor must begin a new JTA 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 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.
RollbackException - Exception 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 javax.transaction.RollbackException
 
RollbackException(String) - Constructor for exception javax.transaction.RollbackException
 
rollbackOn() - Method in annotation type javax.transaction.Transactional
The rollbackOn element can be set to indicate exceptions that must cause the interceptor to mark the transaction for rollback.

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.
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.
SUPPORTS - javax.transaction.Transactional.TxType
If called outside a transaction context, managed bean method execution must then continue outside a transaction context.
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(int) - Constructor for exception javax.transaction.SystemException
Create a SystemException with a given error code.
SystemException(String) - Constructor for exception javax.transaction.SystemException
Create a SystemException with a given string.

T

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.

U

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

V

value() - Method in annotation type javax.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 javax.transaction.Transactional.TxType
Returns the enum constant of this type with the specified name.
values() - Static method in enum javax.transaction.Transactional.TxType
Returns an array containing the constants of this enum type, 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 All Packages