org.rhq.core.pc.inventory
Class AutoDiscoveryExecutor

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

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

Standard platform/server inventory detection execution. This is typically called in a non-blocking fashion and the report is returned asynchronously to the server. It is available for direct execution via a Future when running in an embedded mode.

Author:
Greg Hinkle, John Mazzitelli, Ian Springer

Constructor Summary
AutoDiscoveryExecutor()
           
AutoDiscoveryExecutor(AutoDiscoveryRequest autoDiscoveryRequest, InventoryManager inventoryManager, PluginContainerConfiguration configuration)
           
 
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

AutoDiscoveryExecutor

public AutoDiscoveryExecutor(AutoDiscoveryRequest autoDiscoveryRequest,
                             InventoryManager inventoryManager,
                             PluginContainerConfiguration configuration)

AutoDiscoveryExecutor

public AutoDiscoveryExecutor()
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.