By default all custom modules are exposed in JMX/JConsole at runtime. You can easily add attributes or operations to your custom module that are available through JMX/JConsole at runtime. To make an attribute available be sure you add public getter and setter method to access your attribute. All public methods will be made available through JMX as long as they use simple Java types (String, int, long, boolean, short...).
[url removed, login to view]