-
Dec 30th, 2011, 12:28 PM
#1
When using Spring's standard interception around advice, what is the relationship bet
When using Spring's standard interception around advice, what is the relationship between MethodInterceptors and MethodInvocations?
A> A MethodInvocation defines a method to be intercepted and must have one or more MethodInterceptor instances injected to serve as cutpoints.
B> When creating a cutpoint, the proxy must use either a MethodInvocation or MethodInterceptor instance to define the advice.
C> A MethodInvocation must implement an invoke() method which takes a MethodInterceptor parameter.
D> A MethodInterceptor must implement an invoke() method which takes a MethodInvocation parameter.
E> When creating a cutpoint, the proxy must use both a MethodInvocation and MethodInterceptor instance to define the method and advice.
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