org.rhq.plugins.platform
Class ProcessComponent

java.lang.Object
  extended by org.rhq.plugins.platform.ProcessComponent
All Implemented Interfaces:
AvailabilityFacet, ResourceComponent, MeasurementFacet

public class ProcessComponent
extends Object
implements ResourceComponent, MeasurementFacet

Monitors a generic process.

Author:
Greg Hinkle, John Mazzitelli

Constructor Summary
ProcessComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
protected static ProcessInfo getProcessForConfiguration(org.rhq.core.domain.configuration.Configuration config, SystemInfo systemInfo)
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
           
 void start(ResourceContext resourceContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessComponent

public ProcessComponent()
Method Detail

start

public void start(ResourceContext resourceContext)
           throws InvalidPluginConfigurationException,
                  Exception
Specified by:
start in interface ResourceComponent
Throws:
InvalidPluginConfigurationException
Exception

stop

public void stop()
Specified by:
stop in interface ResourceComponent

getAvailability

public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
Specified by:
getAvailability in interface AvailabilityFacet

getProcessForConfiguration

protected static ProcessInfo getProcessForConfiguration(org.rhq.core.domain.configuration.Configuration config,
                                                        SystemInfo systemInfo)
                                                 throws Exception
Throws:
Exception

getValues

public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
                      Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
Specified by:
getValues in interface MeasurementFacet


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