r**o 发帖数: 481 | 1 【 以下文字转载自 Java 讨论区 】
发信人: roro (yoyo~Madredeus-Miradouro de Santa Catar), 信区: Java
标 题: How to intercept a method call
发信站: BBS 未名空间站 (Wed Jun 1 15:28:46 2011, 美东)
How to intercept a method call from the client without override the method
or change the client way of calling? | g*****g 发帖数: 34805 | 2 You can use AOP for that, this is Proxy Pattern.
【在 r**o 的大作中提到】 : 【 以下文字转载自 Java 讨论区 】 : 发信人: roro (yoyo~Madredeus-Miradouro de Santa Catar), 信区: Java : 标 题: How to intercept a method call : 发信站: BBS 未名空间站 (Wed Jun 1 15:28:46 2011, 美东) : How to intercept a method call from the client without override the method : or change the client way of calling?
|
|