org.rhq.plugins.platform
Class LinuxPlatformComponent

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

public class LinuxPlatformComponent
extends PlatformComponent
implements ContentFacet


Field Summary
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_BIND_ADDR
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_DATETIME_FORMAT
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_ENABLED
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_FILE_PATH
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_INCLUDES_REGEX
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_LOGS
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_MIN_SEV
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_PARSER_REGEX
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_PORT
           
static java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_TYPE
           
 
Fields inherited from class org.rhq.plugins.platform.PlatformComponent
resourceContext
 
Constructor Summary
LinuxPlatformComponent()
           
 
Method Summary
 DeployPackagesResponse deployPackages(java.util.Set<ResourcePackageDetails> packages, ContentServices contentServices)
           
 java.util.Set<ResourcePackageDetails> discoverDeployedPackages(PackageType type)
           
 java.util.List<DeployPackageStep> generateInstallationSteps(ResourcePackageDetails packageDetails)
           
 void getValues(MeasurementReport report, java.util.Set<MeasurementScheduleRequest> metricRequests)
           
 OperationResult invokeOperation(java.lang.String name, Configuration parameters)
           
 RemovePackagesResponse removePackages(java.util.Set<ResourcePackageDetails> packages)
           
 java.io.InputStream retrievePackageBits(ResourcePackageDetails packageDetails)
           
 void start(ResourceContext context)
           
 void stop()
           
 
Methods inherited from class org.rhq.plugins.platform.PlatformComponent
getAvailability, loadResourceConfiguration, updateResourceConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_CONFIG_EVENT_TRACKING_LOGS

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_LOGS
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_ENABLED

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_ENABLED
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_INCLUDES_REGEX

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_INCLUDES_REGEX
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_MIN_SEV

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_MIN_SEV
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_PARSER_REGEX

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_PARSER_REGEX
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_DATETIME_FORMAT

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_DATETIME_FORMAT
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_TYPE

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_TYPE
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_PORT

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_PORT
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_BIND_ADDR

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_BIND_ADDR
See Also:
Constant Field Values

PLUGIN_CONFIG_EVENT_TRACKING_FILE_PATH

public static final java.lang.String PLUGIN_CONFIG_EVENT_TRACKING_FILE_PATH
See Also:
Constant Field Values
Constructor Detail

LinuxPlatformComponent

public LinuxPlatformComponent()
Method Detail

start

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

stop

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

discoverDeployedPackages

public java.util.Set<ResourcePackageDetails> discoverDeployedPackages(PackageType type)
Specified by:
discoverDeployedPackages in interface ContentFacet

generateInstallationSteps

public java.util.List<DeployPackageStep> generateInstallationSteps(ResourcePackageDetails packageDetails)
Specified by:
generateInstallationSteps in interface ContentFacet

deployPackages

public DeployPackagesResponse deployPackages(java.util.Set<ResourcePackageDetails> packages,
                                             ContentServices contentServices)
Specified by:
deployPackages in interface ContentFacet

removePackages

public RemovePackagesResponse removePackages(java.util.Set<ResourcePackageDetails> packages)
Specified by:
removePackages in interface ContentFacet

retrievePackageBits

public java.io.InputStream retrievePackageBits(ResourcePackageDetails packageDetails)
Specified by:
retrievePackageBits in interface ContentFacet

getValues

public void getValues(MeasurementReport report,
                      java.util.Set<MeasurementScheduleRequest> metricRequests)
Specified by:
getValues in interface MeasurementFacet
Overrides:
getValues in class PlatformComponent

invokeOperation

public OperationResult invokeOperation(java.lang.String name,
                                       Configuration parameters)
                                throws java.lang.Exception
Specified by:
invokeOperation in interface OperationFacet
Overrides:
invokeOperation in class PlatformComponent
Throws:
java.lang.Exception


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