KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > dynaop > Invocation


1 package dynaop;
2
3 import java.lang.reflect.Method JavaDoc;
4
5 /**
6  * Intercepted method invocation.
7  *
8  * @author Bob Lee (crazybob@crazybob.org)
9  */

10 public interface Invocation {
11
12     /**
13      * Invokes next interceptor, mixin, or proxy target.
14      */

15     Object JavaDoc proceed() throws Throwable JavaDoc;
16
17     /**
18      * Gets invocation arguments.
19      */

20     Object JavaDoc[] getArguments();
21     
22     /**
23      * Gets proxy.
24      */

25     Proxy getProxy();
26
27     /**
28      * Gets invoked method.
29      */

30     Method JavaDoc getMethod();
31 }
32
Popular Tags