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
{{ message }}
Repository navigation
Support Aware interfaces for ImportBeanDefinitionRegistrar [SPR-9568] #14202
Implementations of ImportBeanDefinitionRegistrar might need access to a ResourceLoader in case they want to do things like component scanning or the like. The nicest way to get access to it is implementing ResourceLoaderAware I think.
commit 146a66fe0b7a0bb25b67ce5e2d1ca8a33039ec59
Author: Oliver Gierke <[email protected]>
Commit: Chris Beams <[email protected]>
Support *Aware ImportBeanDefinitionRegistars
Implementations of Spring's ImportBeanDefinitionRegistrar interface may
now implement any of the following *Aware interfaces and have their
respective methods called prior to #registerBeanDefinitions:
- BeanFactoryAware
- BeanClassLoaderAware
- ResourceLoaderAware
Issue: SPR-9568
Activity
spring-projects-issues commentedon Nov 12, 2012
Oliver Drotbohm commented
Other infrastructure injecting
Awareinterfaces should, e.g.BeanClassLoaderAwarebe supported as well.spring-projects-issues commentedon Nov 12, 2012
Oliver Drotbohm commented
Submitted pull request at #181.
spring-projects-issues commentedon Nov 12, 2012
Chris Beams commented