-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Scott Resnik opened SPR-4954 and commented
In spring 2.0, I was able to have the products of BeanFactory beans exported in JMX via the MBeanExporter. In spring 2.5, this is no longer the case. It appears that only the actual BeanFactory beans are exported (Noted with the "&" in the name). It appears this was done to avoid having the MBeanExporter eagerly init any BeanFactory beans.
It would be nice if in the autodetect method of the MBeanExporter the parameters to (line ~875 of MBeanExporter)"beanFactory.getNamesForType" call could be injected. Then the user would have control over whether or not the MBeanExporter causes eager initialization or not.
Affects: 2.5.5
Issue Links:
- Lazy not honored when using MBeanExporter's autodetection (since 2.5) [SPR-4569] #9246 Lazy not honored when using MBeanExporter's autodetection (since 2.5)
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement