org.rhq.plugins.hosts
Class HostsDiscoveryComponent
java.lang.Object
org.rhq.plugins.augeas.AugeasConfigurationDiscoveryComponent<org.rhq.plugins.platform.PlatformComponent>
org.rhq.plugins.hosts.HostsDiscoveryComponent
- All Implemented Interfaces:
- ManualAddFacet<org.rhq.plugins.platform.PlatformComponent>, ResourceDiscoveryComponent<org.rhq.plugins.platform.PlatformComponent>
public class HostsDiscoveryComponent
- extends AugeasConfigurationDiscoveryComponent<org.rhq.plugins.platform.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<org.rhq.plugins.platform.PlatformComponent> discoveryContext)
throws InvalidPluginConfigurationException,
Exception
- Specified by:
discoverResources in interface ResourceDiscoveryComponent<org.rhq.plugins.platform.PlatformComponent>- Overrides:
discoverResources in class AugeasConfigurationDiscoveryComponent<org.rhq.plugins.platform.PlatformComponent>
- Throws:
InvalidPluginConfigurationException
Exception
discoverResource
public DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfig,
ResourceDiscoveryContext discoveryContext)
throws InvalidPluginConfigurationException
- Specified by:
discoverResource in interface ManualAddFacet<org.rhq.plugins.platform.PlatformComponent>- Overrides:
discoverResource in class AugeasConfigurationDiscoveryComponent<org.rhq.plugins.platform.PlatformComponent>
- Throws:
InvalidPluginConfigurationException
determineIncludeGlobs
protected List<String> determineIncludeGlobs(ResourceDiscoveryContext<org.rhq.plugins.platform.PlatformComponent> discoveryContext)
- Overrides:
determineIncludeGlobs in class AugeasConfigurationDiscoveryComponent<org.rhq.plugins.platform.PlatformComponent>
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.