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

A transaction manager implementation
| Constructor Summary | |
|---|---|
TransactionManagerImpl()
Constructor |
|
| Method Summary | |
|---|---|
void |
begin()
|
void |
commit()
|
int |
getStatus()
|
Transaction |
getTransaction()
|
org.jboss.jca.core.spi.transaction.xa.XATerminator |
getXATerminator()
Get the terminator |
void |
resume(Transaction tobj)
|
void |
rollback()
|
void |
setRegistry(TxRegistry v)
Set the registry |
void |
setRollbackOnly()
|
void |
setTransactionTimeout(int seconds)
|
void |
setXATerminator(org.jboss.jca.core.spi.transaction.xa.XATerminator v)
Set the terminator |
Transaction |
suspend()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionManagerImpl()
| Method Detail |
|---|
public void setRegistry(TxRegistry v)
v - The valuepublic org.jboss.jca.core.spi.transaction.xa.XATerminator getXATerminator()
public void setXATerminator(org.jboss.jca.core.spi.transaction.xa.XATerminator v)
v - The value
public void begin()
throws NotSupportedException,
SystemException
begin in interface TransactionManagerNotSupportedException
SystemException
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
commit in interface TransactionManagerRollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
public int getStatus()
throws SystemException
getStatus in interface TransactionManagerSystemException
public Transaction getTransaction()
throws SystemException
getTransaction in interface TransactionManagerSystemException
public void resume(Transaction tobj)
throws InvalidTransactionException,
IllegalStateException,
SystemException
resume in interface TransactionManagerInvalidTransactionException
IllegalStateException
SystemException
public void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback in interface TransactionManagerIllegalStateException
SecurityException
SystemException
public void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface TransactionManagerIllegalStateException
SystemException
public void setTransactionTimeout(int seconds)
throws SystemException
setTransactionTimeout in interface TransactionManagerSystemException
public Transaction suspend()
throws SystemException
suspend in interface TransactionManagerSystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||