IntroductionMethodInterceptor  spring AOP

Posted on 2011-05-06
Last Modified: 2012-05-11
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.
Question by:gudii9
    LVL 92

    Expert Comment

    introductions add new methods and attributes to an advised class
    LVL 47

    Accepted Solution


    This is relatively concise explanation of main ideas of Spring AOP
    including some examples of MethodInterceptor
    LVL 92

    Assisted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Video by: Michael
    Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
    The viewer will learn how to implement Singleton Design Pattern in Java.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now