r**o 发帖数: 481 | 1 How to intercept a method call from the client without override the method
or change the client way of calling? | r*****l 发帖数: 2859 | 2 Use AOP.
If Spring, use one of the ProxyCreators. Otherwise, you can use AspectJ, or
write your own using Java instrument and/or Dynamic Proxy.
【在 r**o 的大作中提到】 : How to intercept a method call from the client without override the method : or change the client way of calling?
| x***i 发帖数: 585 | 3 建一个代理就可以了。dynamic proxy都不用 |
|