
public class UserTransactionImpl extends Object implements org.jboss.jca.core.spi.transaction.usertx.UserTransactionProvider, UserTransaction, Serializable
| Constructor and Description |
|---|
UserTransactionImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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 valuepublic void begin()
throws NotSupportedException,
SystemException
begin in interface UserTransactionNotSupportedExceptionSystemExceptionpublic void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
commit in interface UserTransactionRollbackExceptionHeuristicMixedExceptionHeuristicRollbackExceptionSecurityExceptionIllegalStateExceptionSystemExceptionpublic void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback in interface UserTransactionIllegalStateExceptionSecurityExceptionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface UserTransactionIllegalStateExceptionSystemExceptionpublic int getStatus()
throws SystemException
getStatus in interface UserTransactionSystemExceptionpublic void setTransactionTimeout(int seconds)
throws SystemException
setTransactionTimeout in interface UserTransactionSystemExceptionCopyright © 2013 IronJacamar (http://www.ironjacamar.org)