org.rhq.enterprise.server.test
Class MeasurementTestBean

java.lang.Object
  extended by org.rhq.enterprise.server.test.MeasurementTestBean
All Implemented Interfaces:
MeasurementTestLocal

public class MeasurementTestBean
extends java.lang.Object
implements MeasurementTestLocal

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


Constructor Summary
MeasurementTestBean()
           
 
Method Summary
 void addProblemResource()
           
 void sendTestMeasurementReport()
          Send a test measurement report, full of lots of fake metrics, to the server.
 void setAgentCurrentlyScheduledMetrics(double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasurementTestBean

public MeasurementTestBean()
Method Detail

sendTestMeasurementReport

public void sendTestMeasurementReport()
Send a test measurement report, full of lots of fake metrics, to the server.

Specified by:
sendTestMeasurementReport in interface MeasurementTestLocal

addProblemResource

public void addProblemResource()
Specified by:
addProblemResource in interface MeasurementTestLocal

setAgentCurrentlyScheduledMetrics

public void setAgentCurrentlyScheduledMetrics(double value)
Specified by:
setAgentCurrentlyScheduledMetrics in interface MeasurementTestLocal


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