...
Other modules can use this module to easily publish JMX management beans (called MBeans). The bean will be published as part of the same domain and host as the other beans. For example, the Usage Statistics Module publishes a bean which appears like this:
...
Code Block | ||
---|---|---|
| ||
public class HelloWorldMBeanImpl implements ExampleMBeanHelloWorldMBean { @Override public String getMessage() { return "Hello world!"; } } |
...