Tuesday, September 1, 2009

AOP Terminologies

AOP Terminologies

Advice: The job of an Aspect is called Advice, Advice defines both the WHAT and the WHEN of an Aspect.
Advice -> Interceptor -> MethodInterceptor (invoke)
AfterReturningAdvice, BeforeAdvice, DynamicIntroductionAdvice, Interceptor, ThrowsAdvice
Joinpoint: Where an Aspect can be plugged in, just like a hook.
Pointcut: Pointcuts help narrow down the jointpoints advised by an aspect. A Aointcut defines the WHERE.
A set of jointpoints
getClassFilter; getMethodMatcher; difference between Static Pointcut and Dynamic Pointcut
Aspect: An Aspect is the merge of Advice and Pointcut.
Introduction: An Introduction allows you to add new methods or attributes to existing classes.
Target: A Target is the object that is being advised.
Proxy: A Proxy is the object created after applying Advice to the target object.
Weaving: Weaving is the process of applying aspects to a target object to create a new, proxied object.

No comments:

Post a Comment

My Text

Sponsdered Ads

Followers