Andrey Rubliov
Andrey Rubliov

Reputation: 407

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

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

Upvotes: 0

Views: 460

Answers (1)

Gary Russell
Gary Russell

Reputation: 174574

See AbstractConfigurableMBeanInfoAssembler and its subclasses MethodNameBasedMBeanInfoAssembler etc.

See also the MBeanInfoAssembler Interface section in the reference documentation.

Upvotes: 1

Related Questions