Saturday, April 14, 2018

AOP Concepts

AOP Concepts

Aspect
Central unit
contains the code that explains the weaving rules

Join Point
Points in the execution of an application (Execution points)
Places where the crosscutting actions taken place

Pointcut
A mechanism for selecting join points
Program construct that selects join points and collects context at those points.
Collect the join point context
Eg : execution(public * *.*(..))

Advice
Before
Around
After

BeforeReturn
AfterReturn

BeforeThrow
AfterThrow

No comments:

Post a Comment