Examples of purgeServerPlugin()


Examples of org.rhq.enterprise.server.plugin.ServerPluginManagerLocal.purgeServerPlugin()

    private void purgeServerPlugins() {
        ServerPluginManagerLocal pluginMgr = LookupUtil.getServerPluginManager();

        for (ServerPlugin p : pluginMgr.getDeletedPlugins()) {
            if (pluginMgr.isReadyForPurge(p.getId())) {
                pluginMgr.purgeServerPlugin(p.getId());
            }
        }
    }
}
View Full Code Here

Examples of org.rhq.enterprise.server.plugin.ServerPluginManagerLocal.purgeServerPlugin()

                }
            }
            assert got_it == true;
        } finally {
            // make sure we clean this up, even on error
            serverPluginsLocal.purgeServerPlugin(plugin.getId());
        }

        // test that purge really deleted it
        Map<ServerPluginType, List<PluginKey>> map = serverPluginsLocal.getInstalledServerPluginsGroupedByType();
        List<PluginKey> pluginKeys = map.get(type);
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.