Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

JMX

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 IDArtifact IDVersion

org.apache.polygene.libraries

org.apache.polygene.library.jmx

3.0.0-SNAPSHOT


Services configuration is editable through their corresponding JMX beans. You can also restart your services so the new configuration is picked up.

library-jmx.png

Assembly

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 );