-
Jun 23rd, 2005, 03:43 PM
#1
introduce and intercept
Is it possible to introduce an interface to an existing class and also intercept calls to the methods of the original class? I've tried to add two interceptors to a proxy, but because I had to set exposeProxy, singleton and proxyTargetClass to true for the introduction, subsequent method interceptors aren't called.
I've tried (as a hack) to create the introduction proxy and then create another proxy on to that, but nothing seems to work. Am i missing something conceptually or is this a limit of the proxy-based approach? Would an alternative AOP framework like Aspectwerkz allow such functionality?
TIA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules