April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Spring AOP
nComplements OO programming
nCore business concerns vs. Crosscutting enterprise conc
nComponents of AOP
nAdvice – This is the code that is applied to, or cross-cuts, your existing object model. Advice code is what modifies the behavior or properties of an existing object.
nAdvice is the block of code that runs based on the pointcut definition. Action taken by an aspect at a particular join point. Many AOP frameworks, including Spring, model an advice as an interceptor, maintaining a chain of interceptors "around" the join point. The actual decorator of functionality, for example Logging of all Http requests with a complete list of request parameters
nTypes of Advice
§before advice, which executes before joinpoint
§after advice, which executes after joinpoint
§around advice, which executes around joinpoint