Stefan Fleiter opened SPR-6026 and commented
The Javadoc of ManagedAttribute
(http://static.springsource.org/spring/docs/2.5.6/api/org/springframework/jmx/export/annotation/ManagedAttribute.html)
states "Only valid when used on a JavaBean getter or setter ".
The Javadoc of ManagedOperation
(http://static.springsource.org/spring/docs/2.5.6/api/org/springframework/jmx/export/annotation/ManagedOperation.html)
states "Only valid when used on a method that is not a JavaBean getter or setter".
Both facts are not part of the spring reference documentation at
http://static.springsource.org/spring/docs/2.5.x/reference/jmx.html.
Took some time for me to find out.
Please add it to the documentation or remove the restrictions.
Also see #10528.
Affects: 2.5.6
Issue Links: