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.
Currently the
ImportBeanDefinitionRegistrar,ImportSelector,DeferredImportSelector.GroupandTypeFilterinterfaces allow the following callbacks to be used:EnvironmentAwareBeanFactoryAwareBeanClassLoaderAwareResourceLoaderAwareIt would be very nice if constructor arguments could be used as an alternative to these. This would allow implementation to use
finalfields.