Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5601

Update class javadoc for PluggableMBeanServerBuilder

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 19.0.0.Beta1, 19.0.0.Final
    • None
    • JMX
    • None

      The class javadoc for PluggableMBeanServerBuilder obscures the way JMX integration actually works by discussing passing the -mbeanserverbuildermodule=org.jboss.as.jmx arg to JBoss Modules.

      The way this actually works is the main module JBM loads (e.g. org.jboss.as.standalone) imports services from the org.jboss.as.jmx module and that module includes a META-INF/services/javax.management.MBeanServerBuilder file that specifies PluggableMBeanServerBuilder. org.jboss.module.Main uses ServiceLoader to find PluggableMBeanServerBuilder.

              pberan@redhat.com Petr Beran
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: