@@ -0,0 +1,604 @@
+package org.nutz.aop;%0D%0A%0D%0Aimport java.lang.reflect.Method;%0D%0A%0D%0A/**%0D%0A * %E6%96%B9%E6%B3%95%E6%8B%A6%E6%88%AA%E5%99%A8%E7%9A%84%E7%A9%BA%E5%AE%9E%E7%8E%B0%0D%0A * @author wendal(wendal1985@gmail.com)%0D%0A *%0D%0A */%0D%0Apublic abstract class AbstractMethodInterceptor implements MethodInterceptor %7B%0D%0A%0D%0A%09public Object afterInvoke(Object obj, Object returnObj, Method method, Object... args) %7B%0D%0A%09%09return obj;%0D%0A%09%7D%0D%0A%0D%0A%09public boolean beforeInvoke(Object obj, Method method, Object... args) %7B%0D%0A%09%09return true;%0D%0A%09%7D%0D%0A%0D%0A%09public void whenError(Throwable e, Object obj, Method method, Object... args) %7B%0D%0A%09%7D%0D%0A%0D%0A%09public void whenException(Exception e, Object obj, Method method, Object... args) %7B%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

添加一个空的抽象的方法拦截器实现,以方便用户实现自己方法拦截器