Skip to content

@ManagedOperationParameter not marked with @Target/@Retention/@Documented/@Repeatable [SPR-13700] #18275

@spring-projects-issues

Description

@spring-projects-issues

Allan Jones opened SPR-13700 and commented

All annotations in org.springframework.jmx.export.annotation package contain the annotation @Documented, therefore they could be part of any javadoc documentation. The only exception is @org.springframework.jmx.export.annotation.ManagedOperationParameter which contains two important fields: name and description.

Current Scenario:
My project has several JMX-exposed methods annotated with @ManagedOperation and @ManageOperationParameters/@ManageOperationParameter. I use the description on both annotations to guide the clients when using a JMX console. A javadoc is also generated as a guide/reference for clients that use this service through a different tool, and the parameters name/description are missing in the javadoc.

A small note: @Target, @Retention annotations are also missing.


Affects: 4.2.3

Issue Links:

Referenced from: commits 3aefc96

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