|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.ejb.util.XAManager
public class XAManager
Manages XA for bean methods.
Nested Class Summary | |
---|---|
static class |
XAManager.SynchronizationAdapter
|
Constructor Summary | |
---|---|
XAManager()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XAManager()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |