• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 504
  • Last Modified:

IntroductionMethodInterceptor spring AOP

I was reading folowing lines and I did not understand clearly.

This method is critical to how introduction works. implementsInterface returns
true if the IntroductionMethodInterceptor is responsible for implementing the
given interface. This means that any invocation of a method that is declared by
this interface will be delegated to the invoke() method of the Introduction-
MethodInterceptor. The invoke() method is now responsible for implementing
this method—it cannot call MethodInvocation.proceed(). It is introducing the
new interface; proceeding to the target object doesn’t make sense.


Any ideas, resources,sample code,links, highly appreciated. thanks in advance.
0
gudii9
Asked:
gudii9
  • 2
2 Solutions
 
objectsCommented:
introductions add new methods and attributes to an advised class
0
 
for_yanCommented:

This is relatively concise explanation of main ideas of Spring AOP
including some examples of MethodInterceptor
http://www.javalobby.org/java/forums/t44746.html
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now