Package org.rhq.core.pc.plugin

Examples of org.rhq.core.pc.plugin.PluginEnvironment


    public void testPluginLoad()
    {
        LOG.info("########################  Running testPluginLoad()");
        PluginManager pluginManager = PluginContainer.getInstance().getPluginManager();

        PluginEnvironment pluginEnvironment = pluginManager.getPlugin("ProfileService");
        assert (pluginEnvironment != null) : "Null environment, plugin not loaded";
        //System.out.println("Plugin package: " + pluginEnvironment.getDescriptor().getPackage());
    }
View Full Code Here


    /**
     * Tests that the plugin can actually load.
     */
    public void testPluginLoad() {
        PluginManager pluginManager = pc.getPluginManager();
        PluginEnvironment pluginEnvironment = pluginManager.getPlugin(PLUGIN_NAME);
        assert (pluginEnvironment != null) : "Null environment, plugin not loaded";
        assert (pluginEnvironment.getPluginName().equals(PLUGIN_NAME));
    }
View Full Code Here

TOP

Related Classes of org.rhq.core.pc.plugin.PluginEnvironment

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.