org.jbpm.pvm.internal.tx
Class SpringTransactionInterceptor
java.lang.Object
org.jbpm.pvm.internal.svc.Interceptor
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor
- All Implemented Interfaces:
- CommandService
public class SpringTransactionInterceptor
- extends Interceptor
calls setRollbackOnly on the transaction in the environment in case an
exception occurs during execution of the command.
- Author:
- Andries Inze, Joram Barrez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
springPropagationBehaviour
protected int springPropagationBehaviour
SpringTransactionInterceptor
public SpringTransactionInterceptor()
execute
public <T> T execute(Command<T> command)
setPolicy
public void setPolicy(Policy policy)
setTransactionManagerName
public void setTransactionManagerName(java.lang.String transactionManagerName)
Copyright © 2010 JBoss Community. All Rights Reserved.