- 
                Notifications
    You must be signed in to change notification settings 
- Fork 38.8k
Closed
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Description
Chris Beams opened SPR-8365 and commented
AnnotationConfigApplicationContext and AnnotationConfigWebApplicationContext both expose register and scan methods as of the completion of #12968.  Introduce a new interface that declares each of these methods and refactor ACAC and ACWAC to implement it.
Beyond information value, this is useful for implementors of the ApplicationContextInitializer interface, in that users may create an ACI that works consistently across ACAC and ACWAC for standalone (e.g. testing, batch) or web (e.g. production) use.
Attachments:
- mylyn-context.zip (3.57 kB)
Issue Links:
- Add option to register configuration classes via Class<?> in AnnotationConfigWebApplicationContext [SPR-8320] #12968 Add option to register configuration classes via Class<?> in AnnotationConfigWebApplicationContext
- Introduce GWAC variant of AnnotationConfigWebApplicationContext [SPR-8413] #13061 Introduce GWAC variant of AnnotationConfigWebApplicationContext ("is superseded by")
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement