PDA

View Full Version : java 5 annotations for jmx


gunnarbo
Jan 30th, 2006, 10:02 AM
I can find examples of jmx annotation like this in the reference manual but I can't find some explanations of the different attributes.
I can guess and also make some tests to find out how they are supposed to work but it would be find to get some documentation.
Where can I find that?

@@org.springframework.jmx.export.metadata.ManagedR esource
(description="My Managed Bean", objectName="spring:bean=test",
log=true, logFile="jmx.log", currencyTimeLimit=15, persistPolicy="OnUpdate",
persistPeriod=200, persistLocation="./foo", persistName="bar.jmx")

Regards
Gunnar

Costin Leau
Jan 30th, 2006, 11:54 AM
The attributes are covered by the official JMX specs - the annotation is just a bridge.

gunnarbo
Jan 31st, 2006, 01:53 AM
Thanks for the pointer!
:-)