org.rhq.core.pc.inventory
Class RuntimeDiscoveryExecutor

java.lang.Object
  extended by org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor
All Implemented Interfaces:
Runnable, Callable<InventoryReport>

public class RuntimeDiscoveryExecutor
extends Object
implements Runnable, Callable<InventoryReport>

Author:
Greg Hinkle, Ian Springer

Constructor Summary
RuntimeDiscoveryExecutor(InventoryManager inventoryManager, PluginContainerConfiguration pluginContainerConfiguration)
           
RuntimeDiscoveryExecutor(InventoryManager inventoryManager, PluginContainerConfiguration pluginContainerConfiguration, org.rhq.core.domain.resource.Resource resource)
          Creates a new RuntimeDiscoveryExecutor instance that will run a discovery scoped to the specified agent.
 
Method Summary
 InventoryReport call()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeDiscoveryExecutor

public RuntimeDiscoveryExecutor(InventoryManager inventoryManager,
                                PluginContainerConfiguration pluginContainerConfiguration)

RuntimeDiscoveryExecutor

public RuntimeDiscoveryExecutor(InventoryManager inventoryManager,
                                PluginContainerConfiguration pluginContainerConfiguration,
                                org.rhq.core.domain.resource.Resource resource)
Creates a new RuntimeDiscoveryExecutor instance that will run a discovery scoped to the specified agent.

Parameters:
inventoryManager - hook back to the inventory manager
pluginContainerConfiguration - configuration of this executor
resource - scopes the runtime scan to a particular resource
Method Detail

run

public void run()
Specified by:
run in interface Runnable

call

public InventoryReport call()
Specified by:
call in interface Callable<InventoryReport>


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.