net.sf.jzeno.aop
Class CallByValueAspect

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

public class CallByValueAspect
extends AbstractAspect

This aspect takes care of checking security on the business facades.


Field Summary
 
Fields inherited from class net.sf.jzeno.aop.AbstractAspect
afterException, beforeException, his, nextAspect, primaryException
 
Constructor Summary
CallByValueAspect(Aspect nextAspect)
           
 
Method Summary
static boolean isCallByValueActive()
           
 void postProcess(java.lang.reflect.Method method, java.lang.Object[] arguments)
           
 void preProcess(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, setNextAspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallByValueAspect

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

preProcess

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

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
See Also:
AbstractAspect.process(Method, Object[])

isCallByValueActive

public static boolean isCallByValueActive()