From Spring 2.5 onwards, all versions support the use of the bean name to be used in an expression to match the join point. We can use the following syntax:
bean(name_of_bean)
Consider the following example:
bean(*Component): This is the expression that specifies the join points to be matched, which belong to the bean whose name ends with Component. The expression can't be used with AspectJ annotations.