org.jbpm.client.impl
Class TransactionInterceptor

java.lang.Object
  extended by org.jbpm.client.impl.Interceptor
      extended by org.jbpm.client.impl.TransactionInterceptor
All Implemented Interfaces:
CommandService

public class TransactionInterceptor
extends Interceptor

calls setRollbackOnly on the transaction in the environment in case an exception occurs during execution of the command.

Author:
Tom Baeyens

Field Summary
 
Fields inherited from class org.jbpm.client.impl.Interceptor
next
 
Constructor Summary
TransactionInterceptor()
           
 
Method Summary
<T> T
execute(Command<T> command)
           
 
Methods inherited from class org.jbpm.client.impl.Interceptor
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionInterceptor

public TransactionInterceptor()
Method Detail

execute

public <T> T execute(Command<T> command)