org.jboss.on.plugins.tomcat
Class TomcatServerComponent<T extends ResourceComponent<?>>
java.lang.Object
org.jboss.on.plugins.tomcat.TomcatServerComponent<T>
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent<T>, MeasurementFacet, OperationFacet, JMXComponent<T>
public class TomcatServerComponent<T extends ResourceComponent<?>>
- extends Object
- implements JMXComponent<T>, MeasurementFacet, OperationFacet
Management for an Apache or JBoss EWS Tomcat server
- Author:
- Jay Shaughnessy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLUGIN_CONFIG_CONTROL_METHOD
public static final String PLUGIN_CONFIG_CONTROL_METHOD
- Plugin configuration properties.
- See Also:
- Constant Field Values
PLUGIN_CONFIG_CATALINA_HOME_PATH
public static final String PLUGIN_CONFIG_CATALINA_HOME_PATH
- See Also:
- Constant Field Values
PLUGIN_CONFIG_CATALINA_BASE_PATH
public static final String PLUGIN_CONFIG_CATALINA_BASE_PATH
- See Also:
- Constant Field Values
PLUGIN_CONFIG_SCRIPT_PREFIX
public static final String PLUGIN_CONFIG_SCRIPT_PREFIX
- See Also:
- Constant Field Values
PLUGIN_CONFIG_SHUTDOWN_SCRIPT
public static final String PLUGIN_CONFIG_SHUTDOWN_SCRIPT
- See Also:
- Constant Field Values
PLUGIN_CONFIG_START_SCRIPT
public static final String PLUGIN_CONFIG_START_SCRIPT
- See Also:
- Constant Field Values
START_WAIT_MAX_PROP
public static final String START_WAIT_MAX_PROP
- See Also:
- Constant Field Values
STOP_WAIT_MAX_PROP
public static final String STOP_WAIT_MAX_PROP
- See Also:
- Constant Field Values
TomcatServerComponent
public TomcatServerComponent()
getEmsConnection
public org.mc4j.ems.connection.EmsConnection getEmsConnection()
- Specified by:
getEmsConnection in interface JMXComponent<T extends ResourceComponent<?>>
getPluginConfiguration
public org.rhq.core.domain.configuration.Configuration getPluginConfiguration()
start
public void start(ResourceContext<T> context)
throws InvalidPluginConfigurationException,
Exception
- Specified by:
start in interface ResourceComponent<T extends ResourceComponent<?>>
- Throws:
InvalidPluginConfigurationException
Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<T extends ResourceComponent<?>>
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
getStartScriptPath
public File getStartScriptPath()
getCatalinaHome
public File getCatalinaHome()
getCatalinaBase
public File getCatalinaBase()
getShutdownScriptPath
public File getShutdownScriptPath()
invokeOperation
public OperationResult invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
throws InterruptedException,
Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
InterruptedException
Exception
getValues
public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
- Specified by:
getValues in interface MeasurementFacet
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.