org.rhq.plugins.platform
Class LinuxPlatformComponent

java.lang.Object
  extended by org.rhq.plugins.platform.PlatformComponent
      extended by org.rhq.plugins.platform.PosixPlatformComponent
          extended by org.rhq.plugins.platform.LinuxPlatformComponent
All Implemented Interfaces:
AvailabilityFacet, ConfigurationFacet, ContentFacet, ResourceComponent<PlatformComponent>, MeasurementFacet, OperationFacet

public class LinuxPlatformComponent
extends PosixPlatformComponent
implements ContentFacet


Nested Class Summary
 
Nested classes/interfaces inherited from class org.rhq.plugins.platform.PosixPlatformComponent
PosixPlatformComponent.EventTrackingType
 
Field Summary
 
Fields inherited from class org.rhq.plugins.platform.PosixPlatformComponent
fileEventDelegates, listenerEventDelegates, PLUGIN_CONFIG_EVENT_TRACKING_BIND_ADDR, PLUGIN_CONFIG_EVENT_TRACKING_DATETIME_FORMAT, PLUGIN_CONFIG_EVENT_TRACKING_ENABLED, PLUGIN_CONFIG_EVENT_TRACKING_FILE_PATH, PLUGIN_CONFIG_EVENT_TRACKING_INCLUDES_REGEX, PLUGIN_CONFIG_EVENT_TRACKING_LOGS, PLUGIN_CONFIG_EVENT_TRACKING_MIN_SEV, PLUGIN_CONFIG_EVENT_TRACKING_PARSER_REGEX, PLUGIN_CONFIG_EVENT_TRACKING_PORT, PLUGIN_CONFIG_EVENT_TRACKING_TYPE
 
Fields inherited from class org.rhq.plugins.platform.PlatformComponent
resourceContext, TRAIT_ARCH, TRAIT_HOSTNAME, TRAIT_OSNAME, TRAIT_OSVERSION
 
Constructor Summary
LinuxPlatformComponent()
           
 
Method Summary
 org.rhq.core.domain.content.transfer.DeployPackagesResponse deployPackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages, ContentServices contentServices)
           
 Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverDeployedPackages(org.rhq.core.domain.content.PackageType type)
           
 List<org.rhq.core.domain.content.transfer.DeployPackageStep> generateInstallationSteps(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metricRequests)
           
 OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration parameters)
           
 org.rhq.core.domain.content.transfer.RemovePackagesResponse removePackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages)
           
 InputStream retrievePackageBits(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
           
 void start(ResourceContext context)
           
 void stop()
           
 
Methods inherited from class org.rhq.plugins.platform.PosixPlatformComponent
shutdownSyslogDelegates
 
Methods inherited from class org.rhq.plugins.platform.PlatformComponent
getAvailability, getMeasurementDataTrait, getSysinfo, loadResourceConfiguration, updateResourceConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinuxPlatformComponent

public LinuxPlatformComponent()
Method Detail

start

public void start(ResourceContext context)
Specified by:
start in interface ResourceComponent<PlatformComponent>
Overrides:
start in class PosixPlatformComponent

stop

public void stop()
Specified by:
stop in interface ResourceComponent<PlatformComponent>
Overrides:
stop in class PosixPlatformComponent

discoverDeployedPackages

public Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> discoverDeployedPackages(org.rhq.core.domain.content.PackageType type)
Specified by:
discoverDeployedPackages in interface ContentFacet

generateInstallationSteps

public List<org.rhq.core.domain.content.transfer.DeployPackageStep> generateInstallationSteps(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
Specified by:
generateInstallationSteps in interface ContentFacet

deployPackages

public org.rhq.core.domain.content.transfer.DeployPackagesResponse deployPackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages,
                                                                                  ContentServices contentServices)
Specified by:
deployPackages in interface ContentFacet

removePackages

public org.rhq.core.domain.content.transfer.RemovePackagesResponse removePackages(Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> packages)
Specified by:
removePackages in interface ContentFacet

retrievePackageBits

public InputStream retrievePackageBits(org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
Specified by:
retrievePackageBits in interface ContentFacet

getValues

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

invokeOperation

public OperationResult invokeOperation(String name,
                                       org.rhq.core.domain.configuration.Configuration parameters)
                                throws Exception
Specified by:
invokeOperation in interface OperationFacet
Overrides:
invokeOperation in class PlatformComponent
Throws:
Exception


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