org.jboss.seam.transaction
public class UTTransaction extends AbstractUserTransaction
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
void |
registerSynchronization(Synchronization sync) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int timeout) |
enlist, getSynchronizations, isActive, isActiveOrMarkedRollback, isCommitted, isConversationContextRequired, isMarkedRollback, isNoTransaction, isRolledBack, isRolledBackOrMarkedRollback
public void begin() throws NotSupportedException, SystemException
NotSupportedException
SystemException
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException
public void rollback() throws IllegalStateException, SecurityException, SystemException
public int getStatus() throws SystemException
SystemException
public void setRollbackOnly() throws IllegalStateException, SystemException
IllegalStateException
SystemException
public void setTransactionTimeout(int timeout) throws SystemException
SystemException
public void registerSynchronization(Synchronization sync)
registerSynchronization
in class AbstractUserTransaction
Copyright © 2015 Seam Framework. All Rights Reserved.