Skip navigation links
Java Transaction API 1.0.1.Final
A B C D E F G H I J M N P R S T U V X 

A

afterCompletion(int) - Method in interface javax.transaction.Synchronization
This method is invoked after the transaction has committed or rolled back.

B

beforeCompletion() - Method in interface javax.transaction.Synchronization
This method is invoked before the start of the commit process.
begin() - Method in interface javax.transaction.TransactionManager
Starts a new transaction, and associate it with the calling thread.
begin() - Method in interface javax.transaction.UserTransaction
Starts a new transaction, and associate it with the calling thread.

C

commit() - Method in interface javax.transaction.Transaction
Attempt to commit this transaction.
commit() - Method in interface javax.transaction.TransactionManager
Commit the transaction associated with the calling thread.
commit() - Method in interface javax.transaction.UserTransaction
Commit the transaction associated with the calling thread.
commit(Xid, boolean) - Method in interface javax.transaction.xa.XAResource
Commit the work done on this resource in the given transaction.

D

delistResource(XAResource, int) - Method in interface javax.transaction.Transaction
Delist an XA resource from this transaction.

E

end(Xid, int) - Method in interface javax.transaction.xa.XAResource
Called to disassociate the resource from a transaction.
enlistResource(XAResource) - Method in interface javax.transaction.Transaction
Enlist an XA resource with this transaction.
errorCode - Variable in exception javax.transaction.SystemException
The error code of this exception.
errorCode - Variable in exception javax.transaction.xa.XAException
The error code.

F

forget(Xid) - Method in interface javax.transaction.xa.XAResource
Tells the resource manager to forget about a heuristic decision.

G

getBranchQualifier() - Method in interface javax.transaction.xa.Xid
Get the transaction branch qualifier of this transaction.
getFormatId() - Method in interface javax.transaction.xa.Xid
Get the format identifier.
getGlobalTransactionId() - Method in interface javax.transaction.xa.Xid
Get the global transaction id of this transaction.
getResource(Object) - Method in interface javax.transaction.TransactionSynchronizationRegistry
Get a transaction local for the current transaction
getRollbackOnly() - Method in interface javax.transaction.TransactionSynchronizationRegistry
Get the rollback status of the transaction associated with the current thread.
getStatus() - Method in interface javax.transaction.Transaction
Get the status of the transaction.
getStatus() - Method in interface javax.transaction.TransactionManager
Get the status of the transaction associated with the calling thread.
getStatus() - Method in interface javax.transaction.UserTransaction
Get the status of the transaction associated with the calling thread.
getTransaction() - Method in interface javax.transaction.TransactionManager
Get the transaction associated with the calling thread.
getTransactionKey() - Method in interface javax.transaction.TransactionSynchronizationRegistry
An object that has the same equals/hashCode behaviour as the transaction currently associated with the thread
getTransactionStatus() - Method in interface javax.transaction.TransactionSynchronizationRegistry
Get the transaction status of the current thread
getTransactionTimeout() - Method in interface javax.transaction.xa.XAResource
Get the current transaction timeout value for this resource.

H

HeuristicCommitException - Exception in javax.transaction
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.
HeuristicCommitException() - Constructor for exception javax.transaction.HeuristicCommitException
Creates a new HeuristicMixedException without a detail message.
HeuristicCommitException(String) - Constructor for exception javax.transaction.HeuristicCommitException
Constructs an HeuristicCommitException with the specified detail message.
HeuristicMixedException - Exception in javax.transaction
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.
HeuristicMixedException() - Constructor for exception javax.transaction.HeuristicMixedException
Creates a new HeuristicMixedException without a detail message.
HeuristicMixedException(String) - Constructor for exception javax.transaction.HeuristicMixedException
Constructs an HeuristicMixedException with the specified detail message.
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
Creates a new HeuristicRollbackException without a detail message.
HeuristicRollbackException(String) - Constructor for exception javax.transaction.HeuristicRollbackException
Constructs an HeuristicRollbackException with the specified detail message.

I

InvalidTransactionException - Exception in javax.transaction
This exception indicates an invalid transaction.
InvalidTransactionException() - Constructor for exception javax.transaction.InvalidTransactionException
Creates a new InvalidTransactionException without a detail message.
InvalidTransactionException(String) - Constructor for exception javax.transaction.InvalidTransactionException
Constructs an InvalidTransactionException with the specified detail message.
isSameRM(XAResource) - Method in interface javax.transaction.xa.XAResource
Tells the caller if this resource has the same resource manager as the argument resource.

J

javax.transaction - package javax.transaction
 
javax.transaction.xa - package javax.transaction.xa
This package contains the classes and interfaces that define the interaction between the transaction manager and the resources it manages.

M

MAXBQUALSIZE - Static variable in interface javax.transaction.xa.Xid
The maximum possible size of a transaction branch qualifier.
MAXGTRIDSIZE - Static variable in interface javax.transaction.xa.Xid
The maximum possible size of a global transaction id.

N

NotSupportedException - Exception in javax.transaction
The NotSupportedException exception indicates that an operation is not supported.
NotSupportedException() - Constructor for exception javax.transaction.NotSupportedException
Creates a new NotSupportedException without a detail message.
NotSupportedException(String) - Constructor for exception javax.transaction.NotSupportedException
Constructs an NotSupportedException with the specified detail message.

P

prepare(Xid) - Method in interface javax.transaction.xa.XAResource
Prepare to commit the work done on this resource in the given transaction.
putResource(Object, Object) - Method in interface javax.transaction.TransactionSynchronizationRegistry
Set a transaction local for the current transaction

R

recover(int) - Method in interface javax.transaction.xa.XAResource
Return a list of transactions that are in a prepared or heuristically state.
registerInterposedSynchronization(Synchronization) - Method in interface javax.transaction.TransactionSynchronizationRegistry
Add a transaction synchronization that is invoked "last", i.e.
registerSynchronization(Synchronization) - Method in interface javax.transaction.Transaction
Register a Synchronization callback with this transaction.
resume(Transaction) - Method in interface javax.transaction.TransactionManager
Resume the association of the calling thread with the given transaction.
rollback() - Method in interface javax.transaction.Transaction
Rolls back this transaction.
rollback() - Method in interface javax.transaction.TransactionManager
Rolls back the transaction associated with the calling thread.
rollback() - Method in interface javax.transaction.UserTransaction
Rolls back the transaction associated with the calling thread.
rollback(Xid) - Method in interface javax.transaction.xa.XAResource
Roll back the work done on this resource in the given transaction.
RollbackException - Exception in javax.transaction
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.
RollbackException() - Constructor for exception javax.transaction.RollbackException
Creates a new RollbackException without a detail message.
RollbackException(String) - Constructor for exception javax.transaction.RollbackException
Constructs an RollbackException with the specified detail message.

S

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
Change the transaction timeout for transactions started by the calling thread with the TransactionManager.begin() method.
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.

T

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.

U

UserTransaction - Interface in javax.transaction
This interface allows an application to explicitly manage transactions.

V

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.

X

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.
A B C D E F G H I J M N P R S T U V X 
Skip navigation links
Java Transaction API 1.0.1.Final

Copyright © 2016 JBoss by Red Hat. All rights reserved.