org.jbpm.shared.services.impl.tx
@ApplicationScoped @DefaultTransaction @Veto public class CMTBTMTransaction extends org.jboss.seam.transaction.AbstractUserTransaction
Constructor and Description |
---|
CMTBTMTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
void |
init(org.jboss.seam.transaction.Synchronizations sync) |
void |
registerSynchronization(Synchronization sync) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int timeout) |
@Inject public void init(org.jboss.seam.transaction.Synchronizations sync)
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 interface org.jboss.seam.transaction.SeamTransaction
registerSynchronization
in class org.jboss.seam.transaction.AbstractUserTransaction
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.