-
Nov 2nd, 2009, 10:36 AM
#1
AOP and PayloadRootAnnotationMethodEndpointMapping
I want to use an After returning advice after my endpoint methods runs.
I am using PayloadRootAnnotationMethodEndpointMapping, so do I put the @Endpoint and @PayloadRoot annotations on the interface so I can use AOP?
I tried this, but got a no mapping for request in the my logs.
-
Nov 2nd, 2009, 12:47 PM
#2
You should annotate concrete implementations. Annotations aren't inherited from interfaces to concrete classes (as specified in the java spefication).
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