Examples of invokeDiscoveryComponent()


Examples of org.rhq.core.pc.inventory.InventoryManager.invokeDiscoveryComponent()

            ResourceDiscoveryContext context = new ResourceDiscoveryContext(resourceType, platformComponent,
                platformContainer.getResourceContext(), systemInfo, scanResults, Collections.EMPTY_LIST, pcName,
                PluginContainerDeployment.AGENT);

            Set<DiscoveredResourceDetails> discoveredResources;
            discoveredResources = inventoryManager.invokeDiscoveryComponent(platformContainer, discoveryComponent, context);
            if (discoveredResources != null) {
                for (DiscoveredResourceDetails discoveredResource : discoveredResources) {
                    out.println(MSG.getMsg(AgentI18NResourceKeys.DISCOVERY_COMPONENT_RESULT, discoveredResource
                        .getResourceType().getPlugin(), discoveredResource.getResourceType().getName(),
                        discoveredResource.getResourceKey(), discoveredResource.getResourceName(), discoveredResource
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.