Announcement Announcement Module
Collapse
No announcement yet.
Obtaining Invoking Object In MethodInterceptor Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    So, the question is how to get a reference to the currently advised object?

    MethodInvocation.getThis()

    Comment

    Working...
    X