org.rhq.plugins.platform
Class PlatformComponent
java.lang.Object
org.rhq.plugins.platform.PlatformComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, ResourceComponent, MeasurementFacet, OperationFacet
- Direct Known Subclasses:
- LinuxPlatformComponent, WindowsPlatformComponent
public class PlatformComponent
- extends java.lang.Object
- implements ResourceComponent, ConfigurationFacet, MeasurementFacet, OperationFacet
Represents the platform resource which is the root resource for all other resources managed.
- Author:
- John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourceContext
protected ResourceContext resourceContext
PlatformComponent
public PlatformComponent()
start
public void start(ResourceContext context)
- Specified by:
start in interface ResourceComponent
stop
public void stop()
- Specified by:
stop in interface ResourceComponent
getAvailability
public AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
loadResourceConfiguration
public Configuration loadResourceConfiguration()
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport report)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet
getValues
public void getValues(MeasurementReport report,
java.util.Set<MeasurementScheduleRequest> metrics)
- Specified by:
getValues in interface MeasurementFacet
invokeOperation
public OperationResult invokeOperation(java.lang.String name,
Configuration parameters)
throws java.lang.Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
java.lang.Exception
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.