(Object proxy, Method method, Object[] args)
| 17 | } |
| 18 | |
| 19 | @Override |
| 20 | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { |
| 21 | String name = method.getName(); |
| 22 | System.out.println("Method " + name + " is proxyed."); |
| 23 | return method.invoke(target, args); |
| 24 | } |
| 25 | |
| 26 | |
| 27 | } |