|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.tx.noopts.TransactionImpl
public class TransactionImpl

A transaction implementation
| Constructor Summary | |
|---|---|
TransactionImpl()
Constructor |
|
| Method Summary | |
|---|---|
void |
commit()
|
boolean |
delistResource(XAResource xaRes,
int flag)
|
boolean |
enlistResource(XAResource xaRes)
|
int |
getStatus()
|
void |
registerSynchronization(Synchronization sync)
|
void |
rollback()
|
void |
setRollbackOnly()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionImpl()
| Method Detail |
|---|
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
commit in interface TransactionRollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
public boolean delistResource(XAResource xaRes,
int flag)
throws IllegalStateException,
SystemException
delistResource in interface TransactionIllegalStateException
SystemException
public boolean enlistResource(XAResource xaRes)
throws RollbackException,
IllegalStateException,
SystemException
enlistResource in interface TransactionRollbackException
IllegalStateException
SystemException
public int getStatus()
throws SystemException
getStatus in interface TransactionSystemException
public void registerSynchronization(Synchronization sync)
throws RollbackException,
IllegalStateException,
SystemException
registerSynchronization in interface TransactionRollbackException
IllegalStateException
SystemException
public void rollback()
throws IllegalStateException,
SystemException
rollback in interface TransactionIllegalStateException
SystemException
public void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface TransactionIllegalStateException
SystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||