org.rhq.plugins.platform
Class ProcessComponent
java.lang.Object
org.rhq.plugins.platform.ProcessComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent, MeasurementFacet
public class ProcessComponent
- extends java.lang.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,
java.lang.Exception
- Specified by:
start in interface ResourceComponent
- Throws:
InvalidPluginConfigurationException
java.lang.Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent
getAvailability
public AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
getProcessForConfiguration
protected static ProcessInfo getProcessForConfiguration(Configuration config,
SystemInfo systemInfo)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValues
public void getValues(MeasurementReport report,
java.util.Set<MeasurementScheduleRequest> metrics)
- Specified by:
getValues in interface MeasurementFacet
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.