org.jbpm.pvm.internal.tx
Class JtaRetryInterceptor

java.lang.Object
  extended by org.jbpm.pvm.internal.svc.Interceptor
      extended by org.jbpm.pvm.internal.svc.RetryInterceptor
          extended by org.jbpm.pvm.internal.tx.JtaRetryInterceptor
All Implemented Interfaces:
CommandService

public class JtaRetryInterceptor
extends RetryInterceptor

Author:
Tom Baeyens

Field Summary
 
Fields inherited from class org.jbpm.pvm.internal.svc.Interceptor
next
 
Fields inherited from interface org.jbpm.pvm.internal.cmd.CommandService
NAME_NEW_TX_REQUIRED_COMMAND_SERVICE, NAME_TX_REQUIRED_COMMAND_SERVICE
 
Constructor Summary
JtaRetryInterceptor()
           
 
Method Summary
<T> T
execute(Command<T> command)
           
<T> T
executeWithoutRetry(Command<T> command)
           
<T> T
executeWithRetry(Command<T> command)
           
 
Methods inherited from class org.jbpm.pvm.internal.svc.RetryInterceptor
getDelay, getDelayFactor, getRetries, isCausedByOptimisticLockingFailure, setDelay, setDelayFactor, setRetries
 
Methods inherited from class org.jbpm.pvm.internal.svc.Interceptor
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JtaRetryInterceptor

public JtaRetryInterceptor()
Method Detail

execute

public <T> T execute(Command<T> command)
Specified by:
execute in interface CommandService
Overrides:
execute in class RetryInterceptor

executeWithRetry

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

executeWithoutRetry

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


Copyright © 2010 JBoss Community. All Rights Reserved.