Closed as not planned
Closed as not planned
Description
Andres Almiray opened SPR-12929 and commented
Currently the ApplicationContext is capable of resolving beans and beans names given an annotation but the reverse is not, that is, obtain an annotation given a bean name.
Currently annotation metadata is harvested and stored in org.springframework.core.type.AnnotationMetadata
but the actual annotation is not.
For reference, this feature was discussed with Jürgen at Voxxed Days Ticino 2015 in the context of a generic, external JSR-330 compatible API on top of Spring and Guice.
Affects: 4.1.6
Issue Links:
- Support dynamic bean lookup a la CDI's Instance type [SPR-13132] #17723 Support dynamic bean lookup a la CDI's Instance type
- Convenient programmatic bean retrieval with qualifiers [SPR-8891] #13532 Convenient programmatic bean retrieval with qualifiers
2 votes, 4 watchers