org.rhq.plugins.apache
Class ApacheServerDiscoveryComponent
java.lang.Object
org.rhq.plugins.apache.ApacheServerDiscoveryComponent
- All Implemented Interfaces:
- ManualAddFacet<PlatformComponent>, ResourceDiscoveryComponent<PlatformComponent>, ResourceUpgradeFacet<PlatformComponent>
public class ApacheServerDiscoveryComponent
- extends Object
- implements ResourceDiscoveryComponent<PlatformComponent>, ManualAddFacet<PlatformComponent>, ResourceUpgradeFacet<PlatformComponent>
The discovery component for Apache 2.x servers.
- Author:
- Ian Springer, Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE_SOURCE_FILE_TO_MODULE_NAME_20
public static final Map<String,String> MODULE_SOURCE_FILE_TO_MODULE_NAME_20
MODULE_SOURCE_FILE_TO_MODULE_NAME_13
public static final Map<String,String> MODULE_SOURCE_FILE_TO_MODULE_NAME_13
ApacheServerDiscoveryComponent
public ApacheServerDiscoveryComponent()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<PlatformComponent> discoveryContext)
throws Exception
- Specified by:
discoverResources in interface ResourceDiscoveryComponent<PlatformComponent>
- Throws:
Exception
upgrade
public ResourceUpgradeReport upgrade(ResourceUpgradeContext<PlatformComponent> context)
- Specified by:
upgrade in interface ResourceUpgradeFacet<PlatformComponent>
discoverResource
public DiscoveredResourceDetails discoverResource(Configuration pluginConfig,
ResourceDiscoveryContext<PlatformComponent> discoveryContext)
throws InvalidPluginConfigurationException
- Specified by:
discoverResource in interface ManualAddFacet<PlatformComponent>
- Throws:
InvalidPluginConfigurationException
loadParser
public static ApacheDirectiveTree loadParser(String path,
String serverRoot)
scanForGlobInclude
public static String scanForGlobInclude(ApacheDirectiveTree tree)
getDefaultModuleNames
public static Map<String,String> getDefaultModuleNames(String version)
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.