- 
                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)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
Phil Webb opened SPR-9908 and commented
@ManagedResource should be allowed on @Bean methods in @Configuration classes. Otherwise it is not possible to expose a bean via annotations for which you do not have the source for.
Affects: 3.1.2
Issue Links:
- MBeanExporter should use annotations if @ManagedResource present, otherwise use defaults [SPR-11298] #15922 MBeanExporter should use annotations if 
@ManagedResourcepresent, otherwise use defaults - Allow the ManagedResource/Attribute/Metric/Operation to be placed on interface [SPR-13138] #17729 Allow the ManagedResource/Attribute/Metric/Operation to be placed on interface
 
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