@ApplicationScoped public class JMXRemotingConnectorEndpointSelector extends Object implements org.wildfly.swarm.spi.api.Customizer
If a user has not specified any JMX.jmxRemotingConnector(JMXRemotingConnector),
then nothing is done as JMX remains purely available only inside the process.
If a user has specified a generic, unconfigured JMXRemotingConnector, then his selector
will pick the "best" connector available, given the following priority:
org.wildfly.swarm:management is presentorg.wildfly.swarm:undertow is presentA user who does not explicitly configure a JMXRemotingConnector can still activate
a connector using configuation values (through properties or project-stages.yml), using
the key of swarm.jmx.remote
A non-null value (such as "true") will cause the above logic to be followed in selecting
an endpoint. If the value is management, then the management endpoint will
be considered to be explicitly selected. If management is available but the user would
rather use the standard HTTP interface, then a value of http> may be used.
In the event a user has specifically JMXRemotingConnector.useManagementEndpoint(Boolean) to
true<, then in the event org.wildfly.swarm:management is not present,
then the remote connector for JMX will be completely disabled.
| Constructor and Description |
|---|
JMXRemotingConnectorEndpointSelector() |
public JMXRemotingConnectorEndpointSelector()
public void customize()
customize in interface org.wildfly.swarm.spi.api.CustomizerCopyright © 2017 JBoss by Red Hat. All rights reserved.