01: /**
02: *
03: */package net.sf.crispy;
04:
05: /**
06: * This interface you can use to modify the return value from execute methode result.
07: *
08: * @author Linke
09: *
10: */
11: public interface Modifier {
12:
13: /**
14: * Before invoke the method you can modify parameter and method.
15: *
16: * @param pvInterceptorContext <code>InterceptorContext</code> with <code>Method</code> and parameter.
17: * @return Modify <code>InterceptorContext</code>.
18: */
19: public InterceptorContext modifyBeforeInvocation(
20: InterceptorContext pvInterceptorContext);
21:
22: /**
23: * After invoke the method you can modify the result.
24: *
25: * @param pvInterceptorContext <code>InterceptorContext</code> with result.
26: * @return Modify <code>InterceptorContext</code>.
27: */
28: public InterceptorContext modifyAfterInvocation(
29: InterceptorContext pvInterceptorContext);
30:
31: }
|