org.rhq.plugins.apache
Class ModJKComponent

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

Constructor Summary
ModJKComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
static OperationResult installModJk(ApacheServerComponent serverComponent, org.rhq.core.domain.configuration.Configuration params)
          Delegate method to install a simple mod_jk in an apache httpd
 void start(ResourceContext<ApacheServerComponent> parentResourceContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModJKComponent

public ModJKComponent()
Method Detail

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 configuration
params - 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.