net.sf.jzeno.aop
Class LoggingAspect

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

public class LoggingAspect
extends AbstractAspect

This aspect implements logging of calls to the business facades.


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

Constructor Detail

LoggingAspect

public LoggingAspect(Aspect nextAspect,
                     java.lang.Object target)
Parameters:
nextAspect -
target -
Method Detail

preProcess

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

postProcess

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