|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.tx.common.ATTransactionManagerImpl
public class ATTransactionManagerImpl
Inject WS-Coordination/WS-AtomicTransaction support into JTA 1.1 TransactionManager and TransactionSynchronizationRegistry.
| Method Summary | |
|---|---|
void |
begin()
|
void |
commit()
|
CoordinationContextInterface |
getCoordinationContext()
Get the coordination context associated with the current transaction. |
static ATTransactionManagerImpl |
getInstance()
|
int |
getStatus()
|
javax.transaction.Transaction |
getTransaction()
|
ATTransaction |
getTransaction(java.lang.String coordId)
|
void |
resume(javax.transaction.Transaction transaction)
|
void |
rollback()
|
void |
setCoordinationContext(CoordinationContextInterface coordinationCtx)
Set the coordination context associated with the current transaction. |
void |
setRollbackOnly()
|
void |
setTransactionTimeout(int seconds)
|
javax.transaction.Transaction |
suspend()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ATTransactionManagerImpl getInstance()
public ATTransaction getTransaction(java.lang.String coordId)
public void begin()
throws javax.transaction.NotSupportedException,
javax.transaction.SystemException
begin in interface javax.transaction.TransactionManagerjavax.transaction.NotSupportedException
javax.transaction.SystemException
public void commit()
throws javax.transaction.RollbackException,
javax.transaction.HeuristicMixedException,
javax.transaction.HeuristicRollbackException,
java.lang.SecurityException,
java.lang.IllegalStateException,
javax.transaction.SystemException
commit in interface javax.transaction.TransactionManagerjavax.transaction.RollbackException
javax.transaction.HeuristicMixedException
javax.transaction.HeuristicRollbackException
java.lang.SecurityException
java.lang.IllegalStateException
javax.transaction.SystemException
public int getStatus()
throws javax.transaction.SystemException
getStatus in interface javax.transaction.TransactionManagerjavax.transaction.SystemException
public javax.transaction.Transaction getTransaction()
throws javax.transaction.SystemException
getTransaction in interface javax.transaction.TransactionManagerjavax.transaction.SystemException
public void resume(javax.transaction.Transaction transaction)
throws javax.transaction.InvalidTransactionException,
java.lang.IllegalStateException,
javax.transaction.SystemException
resume in interface javax.transaction.TransactionManagerjavax.transaction.InvalidTransactionException
java.lang.IllegalStateException
javax.transaction.SystemException
public void rollback()
throws java.lang.IllegalStateException,
java.lang.SecurityException,
javax.transaction.SystemException
rollback in interface javax.transaction.TransactionManagerjava.lang.IllegalStateException
java.lang.SecurityException
javax.transaction.SystemException
public void setRollbackOnly()
throws java.lang.IllegalStateException
setRollbackOnly in interface javax.transaction.TransactionManagerjava.lang.IllegalStateException
public void setTransactionTimeout(int seconds)
throws javax.transaction.SystemException
setTransactionTimeout in interface javax.transaction.TransactionManagerjavax.transaction.SystemException
public javax.transaction.Transaction suspend()
throws javax.transaction.SystemException
suspend in interface javax.transaction.TransactionManagerjavax.transaction.SystemExceptionpublic CoordinationContextInterface getCoordinationContext()
public void setCoordinationContext(CoordinationContextInterface coordinationCtx)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||