org.rhq.plugins.platform
Class PlatformComponent
java.lang.Object
org.rhq.plugins.platform.PlatformComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, ResourceComponent<PlatformComponent>, MeasurementFacet, OperationFacet
- Direct Known Subclasses:
- PosixPlatformComponent, WindowsPlatformComponent
public class PlatformComponent
- extends Object
- implements ResourceComponent<PlatformComponent>, 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 |
TRAIT_HOSTNAME
protected static final String TRAIT_HOSTNAME
- See Also:
- Constant Field Values
TRAIT_OSNAME
protected static final String TRAIT_OSNAME
- See Also:
- Constant Field Values
TRAIT_OSVERSION
protected static final String TRAIT_OSVERSION
- See Also:
- Constant Field Values
TRAIT_ARCH
protected static final String TRAIT_ARCH
- See Also:
- Constant Field Values
resourceContext
protected ResourceContext resourceContext
PlatformComponent
public PlatformComponent()
start
public void start(ResourceContext context)
- Specified by:
start in interface ResourceComponent<PlatformComponent>
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<PlatformComponent>
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
loadResourceConfiguration
public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport report)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet
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
getMeasurementDataTrait
protected org.rhq.core.domain.measurement.MeasurementDataTrait getMeasurementDataTrait(org.rhq.core.domain.measurement.MeasurementScheduleRequest request)
invokeOperation
public OperationResult invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
throws Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
Exception
getSysinfo
public SystemInfo getSysinfo()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.