Package org.apache.qpid.server.management.plugin

Examples of org.apache.qpid.server.management.plugin.ManagementPlugin


    private void createAndStartManagementPlugins(ServerConfiguration configuration, Broker broker) throws Exception
    {
        QpidServiceLoader<ManagementFactory> factories = new QpidServiceLoader<ManagementFactory>();
        for (ManagementFactory managementFactory: factories.instancesOf(ManagementFactory.class))
        {
            ManagementPlugin managementPlugin = managementFactory.createInstance(configuration, broker);
            if(managementPlugin != null)
            {
                try
                {
                    managementPlugin.start();
                }
                catch(Exception e)
                {
                    _logger.error("Management plugin " + managementPlugin.getClass().getSimpleName() + " failed to start normally, stopping it now", e);
                    managementPlugin.stop();
                    throw e;
                }

                _managmentInstanceList.add(managementPlugin);
            }
View Full Code Here

TOP

Related Classes of org.apache.qpid.server.management.plugin.ManagementPlugin

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.