Announcement Announcement Module
Collapse
No announcement yet.
When using Spring's standard interception around advice, what is the relationship bet Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X