Expose more AbstractBeanDefinition methods in BeanDefinition [SPR-17275] #21808
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Sébastien Deleuze opened SPR-17275 and commented
When using functional bean registration,
BeanDefinitionCustomizer
lambda gives access to aBeanDefinition
lambda parameter that does not give access to variousAbstractBeanDefinition
methods, requiring a cast toAbstractBeanDefinition
which is not elegant and make our API not very discoverable for those use cases.I think it could be useful to expose those methods in
BeanDefinition
interface:Those ones are candidates as well, but I have no real use case in mind for them for the moment, so they are not mandatory to expose:
Issue Links:
Referenced from: commits f783967, c4aea62, 97cea7f
The text was updated successfully, but these errors were encountered: