net.sf.jzeno.aop
Class RetryDeadlockAspect

java.lang.Object
  extended by net.sf.jzeno.aop.AbstractAspect
      extended by net.sf.jzeno.aop.RetryDeadlockAspect
All Implemented Interfaces:
Aspect

public class RetryDeadlockAspect
extends AbstractAspect

This aspect takes care of retrying a business call when a dead-lock occurs. It retries for a maximum number of times.


Field Summary
 
Fields inherited from class net.sf.jzeno.aop.AbstractAspect
afterException, beforeException, his, nextAspect, primaryException
 
Constructor Summary
RetryDeadlockAspect(Aspect nextAspect)
           
 
Method Summary
 java.lang.Object process(java.lang.reflect.Method method, java.lang.Object[] arguments)
           
 
Methods inherited from class net.sf.jzeno.aop.AbstractAspect
getNextAspect, invoke, postProcess, preProcess, setNextAspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryDeadlockAspect

public RetryDeadlockAspect(Aspect nextAspect)
Parameters:
nextAspect -
target -
Method Detail

process

public java.lang.Object process(java.lang.reflect.Method method,
                                java.lang.Object[] arguments)
                         throws java.lang.Throwable
Overrides:
process in class AbstractAspect
Throws:
java.lang.Throwable
See Also:
AbstractAspect.process(Method, Object[])