Defining Pointcuts
Pointcut nomenclature
Like I said in my post about Core AOP Concepts, Pointcut represent:
An expression that select one or more joint points. In other words, pointcut select joint point that will be advised by an aspect and when the application reaches a join point, advice on that join point may run.
Now, I’ll explain how pointcut actually works and how we can define it.
For the purpose of my post, consider that I use AOP annotations.
Important
Protected and private methods are not intercepted; pointcut will be matched against public methods only!
Pointcut have two important parts that we’ll look in the next points.
[more ...]



