Package org.jboss.as.jmx.model

Examples of org.jboss.as.jmx.model.ModelControllerMBeanServerPlugin


    public synchronized void start(final StartContext context) throws StartException {
        //If the platform MBeanServer was set up to be the PluggableMBeanServer, use that otherwise create a new one and delegate
        MBeanServer platform = ManagementFactory.getPlatformMBeanServer();
        PluggableMBeanServerImpl pluggable = platform instanceof PluggableMBeanServerImpl ? (PluggableMBeanServerImpl)platform : new PluggableMBeanServerImpl(platform);
        if (showModel) {
            showModelPlugin = new ModelControllerMBeanServerPlugin(modelControllerValue.getValue());
            pluggable.addPlugin(showModelPlugin);
        }
        mBeanServer = pluggable;
    }
View Full Code Here


        MBeanServer platform = ManagementFactory.getPlatformMBeanServer();
        PluggableMBeanServerImpl pluggable = platform instanceof PluggableMBeanServerImpl ? (PluggableMBeanServerImpl)platform : new PluggableMBeanServerImpl(platform);
        if (resolvedDomainName != null || expressionsDomainName != null) {
            //TODO make these configurable
            ConfiguredDomains configuredDomains = new ConfiguredDomains(resolvedDomainName, expressionsDomainName);
            showModelPlugin = new ModelControllerMBeanServerPlugin(configuredDomains, modelControllerValue.getValue(), legacyWithProperPropertyFormat);
            pluggable.addPlugin(showModelPlugin);
        }
        mBeanServer = pluggable;
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.jmx.model.ModelControllerMBeanServerPlugin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.