code
docs
tests
The JMX library provides a service that exposes a Polygene™ application in JMX automatically, giving you an opportunity to inspect the application much as you would with the Envisage Tool tool.
Table 29. Artifact
Group ID | Artifact ID | Version |
---|---|---|
org.apache.polygene.libraries | org.apache.polygene.library.jmx | 3.0.0 |
Services configuration is editable through their corresponding JMX beans. You can also restart your services so the new configuration is picked up.
JMX Support for Polygene™ applications:
new JMXAssembler().assemble( module );
Managing the MX Beans Server from your Polygene™ application using the JMXConnectorService
:
module.services( JMXConnectorService.class ).instantiateOnStartup(); module.entities( JMXConnectorConfiguration.class ); module.forMixin( JMXConnectorConfiguration.class ).declareDefaults().port().set( 1099 );