public class TomcatServerComponent<T extends ResourceComponent<?>> extends Object implements JMXComponent<T>, MeasurementFacet, OperationFacet
| Modifier and Type | Class and Description |
|---|---|
static class |
TomcatServerComponent.ControlMethod |
static class |
TomcatServerComponent.SupportedOperations |
| Modifier and Type | Field and Description |
|---|---|
static String |
PLUGIN_CONFIG_CATALINA_BASE_PATH |
static String |
PLUGIN_CONFIG_CATALINA_HOME_PATH |
static String |
PLUGIN_CONFIG_CONTROL_METHOD
Plugin configuration properties.
|
static String |
PLUGIN_CONFIG_SCRIPT_PREFIX |
static String |
PLUGIN_CONFIG_SERVICE_NAME |
static String |
PLUGIN_CONFIG_SHUTDOWN_SCRIPT |
static String |
PLUGIN_CONFIG_START_SCRIPT |
static String |
START_WAIT_MAX_PROP |
static String |
STOP_WAIT_MAX_PROP |
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP| Constructor and Description |
|---|
TomcatServerComponent() |
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
File |
getCatalinaBase() |
File |
getCatalinaHome() |
org.mc4j.ems.connection.EmsConnection |
getEmsConnection() |
org.rhq.core.domain.configuration.Configuration |
getPluginConfiguration() |
String |
getServiceName() |
File |
getShutdownScriptPath() |
File |
getStartScriptPath() |
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics) |
OperationResult |
invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters) |
void |
start(ResourceContext<T> context) |
void |
stop() |
public static final String PLUGIN_CONFIG_CONTROL_METHOD
public static final String PLUGIN_CONFIG_CATALINA_HOME_PATH
public static final String PLUGIN_CONFIG_CATALINA_BASE_PATH
public static final String PLUGIN_CONFIG_SCRIPT_PREFIX
public static final String PLUGIN_CONFIG_SHUTDOWN_SCRIPT
public static final String PLUGIN_CONFIG_START_SCRIPT
public static final String START_WAIT_MAX_PROP
public static final String STOP_WAIT_MAX_PROP
public static final String PLUGIN_CONFIG_SERVICE_NAME
public org.mc4j.ems.connection.EmsConnection getEmsConnection()
getEmsConnection in interface JMXComponent<T extends ResourceComponent<?>>public org.rhq.core.domain.configuration.Configuration getPluginConfiguration()
public void start(ResourceContext<T> context) throws InvalidPluginConfigurationException, Exception
start in interface ResourceComponent<T extends ResourceComponent<?>>InvalidPluginConfigurationExceptionExceptionpublic void stop()
stop in interface ResourceComponent<T extends ResourceComponent<?>>public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetpublic File getStartScriptPath()
public File getCatalinaHome()
public File getCatalinaBase()
public File getShutdownScriptPath()
public String getServiceName()
public OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration parameters) throws InterruptedException, Exception
invokeOperation in interface OperationFacetInterruptedExceptionExceptionpublic void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
getValues in interface MeasurementFacetExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.