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

A transaction manager implementation
| Constructor Summary | |
|---|---|
UserTransactionImpl()
Constructor |
|
| Method Summary | |
|---|---|
void |
begin()
|
void |
commit()
|
int |
getStatus()
|
void |
rollback()
|
void |
setRegistry(TxRegistry v)
Set the registry |
void |
setRollbackOnly()
|
void |
setTransactionTimeout(int seconds)
|
void |
setUserTransactionRegistry(org.jboss.jca.core.spi.transaction.usertx.UserTransactionRegistry v)
Set the user transaction registry |
void |
start()
Start |
void |
stop()
Stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserTransactionImpl()
| Method Detail |
|---|
public void setRegistry(TxRegistry v)
v - The valuepublic void setUserTransactionRegistry(org.jboss.jca.core.spi.transaction.usertx.UserTransactionRegistry v)
setUserTransactionRegistry in interface org.jboss.jca.core.spi.transaction.usertx.UserTransactionProviderv - The value
public void begin()
throws NotSupportedException,
SystemException
begin in interface UserTransactionNotSupportedException
SystemException
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
commit in interface UserTransactionRollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
public void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback in interface UserTransactionIllegalStateException
SecurityException
SystemException
public void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface UserTransactionIllegalStateException
SystemException
public int getStatus()
throws SystemException
getStatus in interface UserTransactionSystemException
public void setTransactionTimeout(int seconds)
throws SystemException
setTransactionTimeout in interface UserTransactionSystemException
public void start()
throws Throwable
Throwable - Thrown if an error occurs
public void stop()
throws Throwable
Throwable - Thrown if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||