-
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
Kenny MacLeod opened SPR-3635 and commented
Take the following code:
@ManagedResource
class X implements Y {
String getProp() { ... }
}
interface Y {
@ManagedAttribute
String getProp();
}
Intuitively, when a bean of type X is exposed through JMX, it would have getProp() exposed as a JMX attribute. However, it only exposes attributes/operations that are declared in X itself.
For consistency with @Transactional annotations, I think it should search superclasses and implemented interfaces for @Managed anootations and act accordingly.
Affects: 2.0.6
Issue Links:
- Spring JMX Annotation inheritance support is inconsistent (or at least difficult in some situations) [SPR-5039] #9714 Spring JMX Annotation inheritance support is inconsistent (or at least difficult in some situations)
Referenced from: commits 8f6a42b
5 votes, 5 watchers
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