-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)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
Eberhard Wolff opened SPR-4034 and commented
Spring JavaConfig allows to only export beans that are created by a public method. This allows for nice modularization of applications by using one JavaConfig class for each component and export the interface of the module only. Such a feature would be nice for XML based configuration as well.
I can imagine it as some special way of handling <import >. An alternative would be an enhacement for the SingletonBeanFactory locator that allows you to define the beans that should be exported in the Spring configuration that includes the BeanFactories that might be accessed. Maybe there are other good possibilities as well.
Issue Links:
- Support @Bean method visibility [SPR-7170] #11829 Support
@Beanmethod visibility
1 votes, 2 watchers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)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