Revise reference documentation for Spring JMX annotations #33466
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: documentation
A documentation task
Milestone
The reference documentation for Spring JMX annotations is in need of a revision for various reasons including, but not limited to, the following.
ManagedResource
are often ambiguous, especially when discussing an annotation like@ManagedResource
instead oforg.springframework.jmx.export.metadata.ManagedResource
which is a class.AnnotationTestBean
implementsIJmxTestBean
, even though an annotated MBean is not required to implement any interfaces, and in fact the example is meant to demonstrate that an annotated POJO suffices.@ManagedOperationParameter
annotations are unnecessarily declared in the@ManagedOperationParameters
container.JmxTestBean
when it should instead refer toAnnotationTestBean
.@ManagedNotification
and@ManagedMetric
are not mentioned.AutodetectCapableMBeanInfoAssembler
example is broken since it uses the non-annotatedJmxTestBean
instead of theAnnotationTestBean
.As a side note, the
JmxTestBean
in our test suite still contains XDoclet "annotations" which can be safely removed. 😉The text was updated successfully, but these errors were encountered: