public class TomcatServerOperationsDelegate extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SHUTDOWN_SCRIPT_ENVIRONMENT_PROPERTY |
static String |
START_SCRIPT_ENVIRONMENT_PROPERTY |
| Constructor and Description |
|---|
TomcatServerOperationsDelegate(TomcatServerComponent serverComponent,
SystemInfo systemInfo) |
| Modifier and Type | Method and Description |
|---|---|
OperationResult |
invoke(TomcatServerComponent.SupportedOperations operation,
org.rhq.core.domain.configuration.Configuration parameters)
Performs the specified operation.
|
static void |
setProcessExecutionEnvironment(ProcessExecution processExecution,
String catalinaHome,
String catalinaBase) |
public static final String SHUTDOWN_SCRIPT_ENVIRONMENT_PROPERTY
public static final String START_SCRIPT_ENVIRONMENT_PROPERTY
public TomcatServerOperationsDelegate(TomcatServerComponent serverComponent, SystemInfo systemInfo)
public OperationResult invoke(TomcatServerComponent.SupportedOperations operation, org.rhq.core.domain.configuration.Configuration parameters) throws InterruptedException
RuntimeException will be thrown.operation - the operation to performparameters - parameters to the operation callRuntimeException - if any errors occur while trying to perform the operationInterruptedExceptionpublic static void setProcessExecutionEnvironment(ProcessExecution processExecution, String catalinaHome, String catalinaBase)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.