public class XAManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
XAManager.SynchronizationAdapter |
Constructor and Description |
---|
XAManager() |
Modifier and Type | Method and Description |
---|---|
void |
applicationException(java.lang.Throwable e) |
void |
beginMandatory()
Begins a mandatory transaction.
|
void |
beginNever()
Begins a never transaction.
|
Transaction |
beginNotSupported()
Begins a not-supported transaction, i.e.
|
Transaction |
beginRequired()
Begins a required transaction.
|
Transaction |
beginRequiresNew()
Begins a requires-new transaction.
|
void |
beginSupports()
Begins a not-supported transaction, i.e.
|
void |
commit()
Commits transaction.
|
void |
endRequiresNew(Transaction parent)
Begins a requires-new transaction.
|
void |
enlist(XAResource xaResource)
Enlists a resource
|
TransactionImpl |
getTransaction()
Gets the active transaction.
|
void |
markRollback()
Mark the transaction for rollback
|
void |
markRollback(java.lang.Exception e)
Mark the transaction for rollback
|
void |
registerSynchronization(SessionSynchronization sync)
Enlists a resource
|
void |
resume(Transaction xa)
Resumes transaction.
|
void |
rethrowEjbException(java.lang.Error e,
boolean isClientXa) |
void |
rethrowEjbException(java.lang.Exception e,
boolean isClientXa) |
void |
rollback()
Commits transaction.
|
boolean |
systemException(java.lang.Throwable e) |
java.lang.String |
toString() |
public void enlist(XAResource xaResource)
public void registerSynchronization(SessionSynchronization sync)
public void beginMandatory()
public void beginNever()
public Transaction beginRequired()
public Transaction beginRequiresNew()
public void endRequiresNew(Transaction parent)
public Transaction beginNotSupported()
public void beginSupports()
public TransactionImpl getTransaction()
public boolean systemException(java.lang.Throwable e)
public void applicationException(java.lang.Throwable e)
public void markRollback(java.lang.Exception e)
public void markRollback()
public void rethrowEjbException(java.lang.Exception e, boolean isClientXa)
public void rethrowEjbException(java.lang.Error e, boolean isClientXa)
public void commit()
public void rollback()
public void resume(Transaction xa)
public java.lang.String toString()
toString
in class java.lang.Object