JBoss.org Community Documentation
Let's start with the selection of advices when all of them use the annotated-parameter signature. As we will see later, very similar rules are used for selecting advices with the default signature.
The process of selection of advices that follow the annotated-parameter signature depends on the priority of each kind of parameter:
This priority is used in two different criteria:
presence of the annotated parameter
assignability degree of the annotation parameter