Skip to content

Allow the ManagedResource/Attribute/Metric/Operation to be placed on interface [SPR-13138] #17729

@spring-projects-issues

Description

@spring-projects-issues

Mathieu Lachance opened SPR-13138 and commented

I'd like to ship in a separate jar my MBean interface so other can consume it remotely using the MBeanProxyFactoryBean.

Having the ManagedResource/Attribute.... placed over the api interface would allows self-documentation through annotations and be "DRY" (don't repeat yourself).

This improvement would make ManagedResource/Attribute.... similar to the Spring RESTful MVC annotations that can be placed over the interface. Validated/constraints annotations follow also the same pattern.

I've used improvement as the issue type, as I do not know if this is actually a bug.


Affects: 4.1.6

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions