org.rhq.plugins.platform
Class ProcessComponent
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessComponent
public ProcessComponent()
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.