Examples of unloadPlugin()


Examples of org.jnode.plugin.PluginRegistry.unloadPlugin()

        out.format(fmt_load, pluginReference.getId(), pluginReference.getVersion());
    }
   
    private void reloadPlugin(PluginReference pluginReference) throws PluginException {
        final PluginRegistry reg = mgr.getRegistry();
        final List<PluginReference> refs = reg.unloadPlugin(pluginReference.getId());
        for (PluginReference ref : refs) {
            if (reg.getPluginDescriptor(ref.getId()) == null) {
                reg.loadPlugin(mgr.getLoaderManager(), ref, true); //resolve=true
            }
        }
View Full Code Here

Examples of org.rhq.enterprise.server.plugin.pc.AbstractTypeServerPluginContainer.unloadPlugin()

                    pc.unschedulePluginJobs(pluginKey);
                } catch (Exception e) {
                    log.warn("Failed to unschedule jobs for server plugin [" + pluginKey + "]", e);
                }
                try {
                    pc.unloadPlugin(pluginKey);
                } catch (Exception e) {
                    log.warn("Failed to unload server plugin [" + pluginKey + "]", e);
                    success = false;
                }
            }
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.