org.rhq.plugins.hosts
Class HostsDiscoveryComponent
java.lang.Object
org.rhq.plugins.augeas.AugeasConfigurationDiscoveryComponent<PlatformComponent>
org.rhq.plugins.hosts.HostsDiscoveryComponent
- All Implemented Interfaces:
- ManualAddFacet<PlatformComponent>, ResourceDiscoveryComponent<PlatformComponent>
public class HostsDiscoveryComponent
- extends AugeasConfigurationDiscoveryComponent<PlatformComponent>
The ResourceDiscoveryComponent for the "Hosts File" ResourceType.
- Author:
- Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostsDiscoveryComponent
public HostsDiscoveryComponent()
discoverResources
public Set discoverResources(ResourceDiscoveryContext<PlatformComponent> discoveryContext)
throws InvalidPluginConfigurationException,
Exception
- Specified by:
discoverResources in interface ResourceDiscoveryComponent<PlatformComponent>- Overrides:
discoverResources in class AugeasConfigurationDiscoveryComponent<PlatformComponent>
- Throws:
InvalidPluginConfigurationException
Exception
discoverResource
public DiscoveredResourceDetails discoverResource(Configuration pluginConfig,
ResourceDiscoveryContext discoveryContext)
throws InvalidPluginConfigurationException
- Specified by:
discoverResource in interface ManualAddFacet<PlatformComponent>- Overrides:
discoverResource in class AugeasConfigurationDiscoveryComponent<PlatformComponent>
- Throws:
InvalidPluginConfigurationException
determineIncludeGlobs
protected List<String> determineIncludeGlobs(ResourceDiscoveryContext<PlatformComponent> discoveryContext)
- Overrides:
determineIncludeGlobs in class AugeasConfigurationDiscoveryComponent<PlatformComponent>
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.