-
Aug 24th, 2009, 02:15 PM
#1
Obtaining Invoking Object In MethodInterceptor
I need assistance. I'm trying to slap a band-aid on an application that will be replaced in 6-9 months, so I want to use MethodInterceptor to replace a database method call.
Unfortunately, I need the actual invoking object in order to access certain fields in it to dynamically build a new query. How can I do this?
Jason
-
Aug 24th, 2009, 11:30 PM
#2
So, the question is how to get a reference to the currently advised object?
MethodInvocation.getThis()
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