1 package dynaop;2 3 import java.lang.reflect.Method ;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 proceed() throws Throwable ;16 17 /**18 * Gets invocation arguments.19 */20 Object [] getArguments();21 22 /**23 * Gets proxy.24 */25 Proxy getProxy();26 27 /**28 * Gets invoked method.29 */30 Method getMethod();31 }32