mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-20 22:17:09 +08:00
commit
172546bf24
@ -208,7 +208,7 @@ public class DebugInvocationHandler implements InvocationHandler {
|
|||||||
this.target = target;
|
this.target = target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Object invoke(Object proxy, Method method, Object[] args) throws InvocationTargetException, IllegalAccessException {
|
public Object invoke(Object proxy, Method method, Object[] args) throws InvocationTargetException, IllegalAccessException {
|
||||||
//调用方法之前,我们可以添加自己的操作
|
//调用方法之前,我们可以添加自己的操作
|
||||||
System.out.println("before method " + method.getName());
|
System.out.println("before method " + method.getName());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user