net.sf.jzeno.aop
Class DelegationAspect

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

public class DelegationAspect
extends AbstractAspect

This is allways the last aspect in the chain, and takes care of invoking the target object.


Field Summary
 
Fields inherited from class net.sf.jzeno.aop.AbstractAspect
afterException, beforeException, his, nextAspect, primaryException
 
Constructor Summary
DelegationAspect(Aspect nextAspect, java.lang.Object target)
           
 
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

DelegationAspect

public DelegationAspect(Aspect nextAspect,
                        java.lang.Object target)
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[])