org.rhq.plugins.apache
Class ModJKDiscoveryComponent
java.lang.Object
org.rhq.plugins.apache.ModJKDiscoveryComponent
- All Implemented Interfaces:
- ResourceDiscoveryComponent<ApacheServerComponent>
public class ModJKDiscoveryComponent
- extends Object
- implements ResourceDiscoveryComponent<ApacheServerComponent>
Discovery of an installed mod_jk module in the parents component apache server
- Author:
- Heiko W. Rupp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModJKDiscoveryComponent
public ModJKDiscoveryComponent()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<ApacheServerComponent> context)
throws InvalidPluginConfigurationException,
Exception
- Try to detect a mod_jk. We do this by looking in httpd.conf if the module should be loaded
- Specified by:
discoverResources in interface ResourceDiscoveryComponent<ApacheServerComponent>
- Parameters:
context - The context that provides metadata
- Returns:
- A potentially empty set of details
- Throws:
InvalidPluginConfigurationException
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.