org.rhq.enterprise.server.test
Class DiscoveryTestBean

java.lang.Object
  extended by org.rhq.enterprise.server.test.DiscoveryTestBean
All Implemented Interfaces:
DiscoveryTestLocal

public class DiscoveryTestBean
extends Object
implements DiscoveryTestLocal

An EJB for testing the discovery subsystem - used by TestControl.jsp.

Author:
Ian Springer

Constructor Summary
DiscoveryTestBean()
           
 
Method Summary
 String clearAutoinventoryQueue()
           
 void createTestMixedGroup(String groupName)
           
 void registerFakePlugin()
           
 void registerTestPluginAndTypeInfo()
           
 void removeTestPlatform()
           
 void removeTestPluginAndTypeInfo()
           
 void sendNewPlatform(String platformAddress, int servers, int servicesPerServer)
           
 void sendTestFullInventoryReport()
           
 void sendTestRuntimeInventoryReport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryTestBean

public DiscoveryTestBean()
Method Detail

registerTestPluginAndTypeInfo

public void registerTestPluginAndTypeInfo()
Specified by:
registerTestPluginAndTypeInfo in interface DiscoveryTestLocal

removeTestPluginAndTypeInfo

public void removeTestPluginAndTypeInfo()
Specified by:
removeTestPluginAndTypeInfo in interface DiscoveryTestLocal

registerFakePlugin

public void registerFakePlugin()

sendTestFullInventoryReport

public void sendTestFullInventoryReport()
Specified by:
sendTestFullInventoryReport in interface DiscoveryTestLocal

sendNewPlatform

public void sendNewPlatform(String platformAddress,
                            int servers,
                            int servicesPerServer)
Specified by:
sendNewPlatform in interface DiscoveryTestLocal

clearAutoinventoryQueue

public String clearAutoinventoryQueue()
Specified by:
clearAutoinventoryQueue in interface DiscoveryTestLocal

sendTestRuntimeInventoryReport

public void sendTestRuntimeInventoryReport()
Specified by:
sendTestRuntimeInventoryReport in interface DiscoveryTestLocal

removeTestPlatform

public void removeTestPlatform()
Specified by:
removeTestPlatform in interface DiscoveryTestLocal

createTestMixedGroup

public void createTestMixedGroup(String groupName)
Specified by:
createTestMixedGroup in interface DiscoveryTestLocal


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