net.sf.oxclient.aspects.retry
Class RetryHandler
java.lang.Object
net.sf.oxclient.aspects.retry.RetryHandler
public class RetryHandler
- extends Object
- Author:
- Björn Voß
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetryHandler
public RetryHandler(Map<ParameterSaveType,IParameterSaver> parameterSaverMap)
- This Constructor is only for unit testing!
It should never be used.
The AspectJ compiler will also use the default constructor.
- Parameters:
parameterSaverMap
-
RetryHandler
public RetryHandler()
shouldRetry
public void shouldRetry(RetryIt retry)
doWithRetry
public Object doWithRetry(org.aspectj.lang.ProceedingJoinPoint pjp,
RetryIt retry)
throws Throwable
- Throws:
Throwable
getRetries
public int getRetries()
setRetries
public void setRetries(int retries)
getDelay
public int getDelay()
setDelay
public void setDelay(int delay)
Copyright © 2007. All Rights Reserved.