net.sf.jzeno.aop
Class AutoSyncAspect

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

public class AutoSyncAspect
extends AbstractAspect

Aspect that implements auto sync behaviour


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

Constructor Detail

AutoSyncAspect

public AutoSyncAspect(Aspect nextAspect)
Method Detail

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

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

findAllEntities

public static java.util.List findAllEntities(java.lang.Object root)