InterviewSolution
| 1. |
What Is A Pointcut, A Join Point, An Advice, An Aspect, Weaving, Introduction, Target Object, Aop Proxy? |
|
Answer» Pointcut An expression that selects one or more Join Points Join Point A point in the execution of a program such as a method call or exception thrown Advice Code to be executed at each selected Join Point Aspect A module that encapsulates pointcuts and advice Weaving TECHNIQUE by which aspects are combined with MAIN code Introduction Spring AOP allows to introduce new INTERFACES (and a corresponding application) to any object advises. Target Object An object is assisted by one or more respects. Also known as the object advised. AOP PROXY AOP proxy is an object used to perform the contract area. This object is created by the AOP framework. In Spring AOP proxy is part of JDK dynamic proxy or proxy CGLIB. Pointcut An expression that selects one or more Join Points Join Point A point in the execution of a program such as a method call or exception thrown Advice Code to be executed at each selected Join Point Aspect A module that encapsulates pointcuts and advice Weaving Technique by which aspects are combined with main code Introduction Spring AOP allows to introduce new interfaces (and a corresponding application) to any object advises. Target Object An object is assisted by one or more respects. Also known as the object advised. AOP Proxy AOP proxy is an object used to perform the contract area. This object is created by the AOP framework. In Spring AOP proxy is part of JDK dynamic proxy or proxy CGLIB. |
|