Package org.jolokia.mbean

Examples of org.jolokia.mbean.Config


    public void init(HistoryStore pHistoryStore, DebugStore pDebugStore)
            throws MalformedObjectNameException, MBeanRegistrationException, InstanceAlreadyExistsException, NotCompliantMBeanException {
        mBeanServerHandler.init();

        // Register the Config MBean
        Config config = new Config(pHistoryStore,pDebugStore,qualifier,Config.OBJECT_NAME);
        mBeanServerHandler.registerMBean(config,config.getObjectName());

        // Register another Config MBean (which dispatched to the stores anyway) for access by
        // jmx4perl version < 0.80
        Config legacyConfig = new Config(pHistoryStore,pDebugStore,qualifier,Config.LEGACY_OBJECT_NAME);
        mBeanServerHandler.registerMBean(legacyConfig,legacyConfig.getObjectName());
    }
View Full Code Here

TOP

Related Classes of org.jolokia.mbean.Config

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.