Closed
Description
Francisco Lozano opened SPR-11217 and commented
Right now it's possible to specify bean(beanName), but it'd be great if you could say qualifier(whatever) so that you can wire aspects not only by bean name or by usual AspectJ pointcuts, but also by bean qualifier, so that any bean configured with
@Bean
@Qualifier
("audited")
public MyBean myBean() {}
The same cannot be achieved simply with annotations, as annotation is at class-level and not at bean-level (and I can re-use same class in several beans).
Affects: 3.2.5
Issue Links:
- Convenient programmatic bean retrieval with qualifiers [SPR-8891] #13532 Convenient programmatic bean retrieval with qualifiers
Referenced from: commits 214c919
1 votes, 3 watchers