Class PluggableMBeanServerBuilder


  • public class PluggableMBeanServerBuilder
    extends MBeanServerBuilder

    This builder returns an instance of PluggableMBeanServerImpl which can be used to set the MBeanServer chain, meaning that the platform mbean server gets the extra functionality for TCCL, ModelController and whatever other behaviour we want to add.

    Main JBM module org.jboss.modules.Main loads services from org.jboss.as.jmx module, which includes META-INF/services/javax.management.MBeanServerBuilder where the PluggableMBeanServerBuilder is specified.

    If the PluggableMBeanServerBuilder in the javax.management.MBeanServerBuilder is not specified, the additional behaviour is only added to calls coming in via the remote connector or MBeanServers injected via a dependency on MBeanServerService.

    Author:
    Kabir Khan