Announcement Announcement Module
Collapse
No announcement yet.
MethodBeforeAdvice - getting method's annotations fails Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MethodBeforeAdvice - getting method's annotations fails

    Hi all,

    i'm using spring 2.5.6.A and implemented a new before advice to be used inside an OSGi container. Integration of that advice works well.

    I'd like to analyze the method's annotations, given as the before() argument. But it always returns an empty array, althow it definitely has annotations.

    Is it a bug or is there a reason for that behaviour?

    Thanks and

    kind regards

    Dirk

  • #2
    Resolution

    Forget it!

    the before() method's argument represents only the interface's method declaration to be called.

    One have to obtain the target object's method explicitely.

    Sorry

    Dirk

    Comment

    Working...
    X