Spring provides annotations to expose and persist mbeans. The persistence does not seem to work when using this method. Is this supported by jboss?
@ManagedResource(objectName = "jmx:bean=TestBean", description = "Test bean", log = true, logFile = "jmx.log", currencyTimeLimit = 0, persistPolicy = "OnUpdate", persistName = "testBean") @ManagedAttribute(description = "Get the value", currencyTimeLimit = 0, defaultValue = "test", persistPolicy = "OnUpdate") public String getValue() { return value; } @ManagedAttribute(description = "Set the value", currencyTimeLimit = 0, defaultValue = "test", persistPolicy = "OnUpdate") public void setValue(String value) { this.value = value; } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925112#3925112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925112 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user