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 java.lang.Object
implements ResourceComponent<ApacheServerComponent>

Management of a mod_jk plugin in the parent apache server

Author:
Heiko W. Rupp

Constructor Summary
ModJKComponent()
           
 
Method Summary
 AvailabilityType getAvailability()
           
static OperationResult installModJk(ApacheServerComponent serverComponent, 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,
                  java.lang.Exception
Specified by:
start in interface ResourceComponent<ApacheServerComponent>
Throws:
InvalidPluginConfigurationException
java.lang.Exception

stop

public void stop()
Specified by:
stop in interface ResourceComponent<ApacheServerComponent>

getAvailability

public AvailabilityType getAvailability()
Specified by:
getAvailability in interface AvailabilityFacet

installModJk

public static OperationResult installModJk(ApacheServerComponent serverComponent,
                                           Configuration params)
                                    throws java.lang.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:
java.lang.Exception


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.