Configure read-only attribute for jmx mbean with xml spring configuration

446 views Asked by At

How to configure read-only JMX bean with XML configuration?

Official tutorial (link below) says only about annotations on methods, is there a way to do the same via XML?

http://docs.spring.io/spring/docs/current/spring-framework-reference/html/jmx.html#jmx-interface-metadata

1

There are 1 answers

0
Gary Russell On BEST ANSWER

See AbstractConfigurableMBeanInfoAssembler and its subclasses MethodNameBasedMBeanInfoAssembler etc.

See also the MBeanInfoAssembler Interface section in the reference documentation.