Examples of PluginEnvironment


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

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

    /**
     * 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
Copyright © 2018 www.massapi.com. 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.