In spring aop you can create advices that will effect all instance of a certain type but what I want is to advise a bean declaration not all beans of that type.
<bean id="bean1" class="type1"/>
<bean id="bean2" class="type1"/>
I want to advise bean1 not all beans of type1. What is the best approach?
From Spring Documentation regarding AOP: