You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the ImportBeanDefinitionRegistrar, ImportSelector, DeferredImportSelector.Group and TypeFilter interfaces allow the following callbacks to be used:
EnvironmentAware
BeanFactoryAware
BeanClassLoaderAware
ResourceLoaderAware
It would be very nice if constructor arguments could be used as an alternative to these. This would allow implementation to use final fields.
The text was updated successfully, but these errors were encountered:
philwebb
changed the title
Allow @Import classes to use constructor injection
Allow @Import and @ComponentScan classes to use constructor injection
Sep 13, 2019
Currently the
ImportBeanDefinitionRegistrar
,ImportSelector
,DeferredImportSelector.Group
andTypeFilter
interfaces allow the following callbacks to be used:EnvironmentAware
BeanFactoryAware
BeanClassLoaderAware
ResourceLoaderAware
It would be very nice if constructor arguments could be used as an alternative to these. This would allow implementation to use
final
fields.The text was updated successfully, but these errors were encountered: