org.jboss.seam.transaction
public class CMTTransaction extends AbstractUserTransaction
| Constructor and Description |
|---|
CMTTransaction(javax.ejb.EJBContext ejbContext) |
| 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, isRolledBackOrMarkedRollbackpublic void begin()
throws NotSupportedException,
SystemException
NotSupportedExceptionSystemExceptionpublic void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
public void rollback()
throws IllegalStateException,
SecurityException,
SystemException
public int getStatus()
throws SystemException
SystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
IllegalStateExceptionSystemExceptionpublic void setTransactionTimeout(int timeout)
throws SystemException
SystemExceptionpublic void registerSynchronization(Synchronization sync)
registerSynchronization in class AbstractUserTransactionCopyright © 2015 Seam Framework. All Rights Reserved.