Package org.rhq.enterprise.server.resource.group.definition

Examples of org.rhq.enterprise.server.resource.group.definition.GroupDefinitionManagerLocal


            // since we assume we are called in the proper deployment order, this should not fail
            // if we are called when hot-deploying a plugin whose dependencies aren't deployed, this will fail
            PluginManagerLocal pluginMgr = LookupUtil.getPluginManager();
            pluginMgr.registerPlugin(plugin, pluginDescriptor, localPluginFile, forceUpdate);
            if (addition!=null) {
                GroupDefinitionManagerLocal groupDefMgr = LookupUtil.getGroupDefinitionManager();
                groupDefMgr.updateGroupsByCannedExpressions(pluginName, addition.getExpressions());
            }
        } catch (Exception e) {
            log.error("Failed to register RHQ plugin file [" + deploymentInfo.url + "]", e);
        }
    }
View Full Code Here


        } catch (Throwable t) {
            log.warn(
                "Failed to uninventory all resources of deleted plugins. This should fix itself automatically when the PurgeResourceTypsJob executes.",
                t);
        }
        GroupDefinitionManagerLocal groupDefMgr = LookupUtil.getGroupDefinitionManager();
        for (Plugin plugin : plugins) {
            groupDefMgr.updateGroupsByCannedExpressions(plugin.getName(), null);
        }
    }
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.resource.group.definition.GroupDefinitionManagerLocal

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.