org.activiti.engine.impl.interceptor
类 JtaRetryInterceptor

java.lang.Object
  继承者 org.activiti.engine.impl.interceptor.AbstractCommandInterceptor
      继承者 org.activiti.engine.impl.interceptor.RetryInterceptor
          继承者 org.activiti.engine.impl.interceptor.JtaRetryInterceptor
所有已实现的接口:
CommandInterceptor

public class JtaRetryInterceptor
extends RetryInterceptor

We cannot perform a retry if we are called in an existing transaction. In that case, the transaction will be marked "rollback-only" after the first ActivitiOptimisticLockingException.

作者:
Daniel Meyer

字段摘要
protected  TransactionManager transactionManager
           
 
从类 org.activiti.engine.impl.interceptor.RetryInterceptor 继承的字段
numOfRetries, waitIncreaseFactor, waitTimeInMs
 
从类 org.activiti.engine.impl.interceptor.AbstractCommandInterceptor 继承的字段
next
 
构造方法摘要
JtaRetryInterceptor(TransactionManager transactionManager)
           
 
方法摘要
protected  boolean calledInsideTransaction()
           
<T> T
execute(CommandConfig config, Command<T> command)
           
 
从类 org.activiti.engine.impl.interceptor.RetryInterceptor 继承的方法
getNumOfRetries, getWaitIncreaseFactor, getWaitTimeInMs, setNumOfRetries, setWaitIncreaseFactor, setWaitTimeInMs, waitBeforeRetry
 
从类 org.activiti.engine.impl.interceptor.AbstractCommandInterceptor 继承的方法
getNext, setNext
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

transactionManager

protected final TransactionManager transactionManager
构造方法详细信息

JtaRetryInterceptor

public JtaRetryInterceptor(TransactionManager transactionManager)
方法详细信息

execute

public <T> T execute(CommandConfig config,
                     Command<T> command)
指定者:
接口 CommandInterceptor 中的 execute
覆盖:
RetryInterceptor 中的 execute

calledInsideTransaction

protected boolean calledInsideTransaction()


Copyright © 2013 Alfresco. All rights reserved.