org.rhq.plugins.apache
Class ModJKDiscoveryComponent

java.lang.Object
  extended by 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

Constructor Summary
ModJKDiscoveryComponent()
           
 
Method Summary
 Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<ApacheServerComponent> context)
          Try to detect a mod_jk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModJKDiscoveryComponent

public ModJKDiscoveryComponent()
Method Detail

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.