org.rhq.plugins.apache
Class ModJKComponent
java.lang.Object
org.rhq.plugins.apache.ModJKComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent<ApacheServerComponent>
public class ModJKComponent
- extends Object
- implements ResourceComponent<ApacheServerComponent>
Management of a mod_jk plugin in the parent apache server
- Author:
- Heiko W. Rupp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModJKComponent
public ModJKComponent()
start
public void start(ResourceContext<ApacheServerComponent> parentResourceContext)
throws InvalidPluginConfigurationException,
Exception
- Specified by:
start in interface ResourceComponent<ApacheServerComponent>
- Throws:
InvalidPluginConfigurationException
Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<ApacheServerComponent>
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
installModJk
public static OperationResult installModJk(ApacheServerComponent serverComponent,
org.rhq.core.domain.configuration.Configuration params)
throws Exception
- Delegate method to install a simple mod_jk in an apache httpd
- Parameters:
serverComponent - The parents server component with the configurationparams - Params we got passed from the GUI
- Returns:
- The outcome of the operation
- Throws:
Exception - see thrown exception for details; thrown exception summarizes error
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.