org.jboss.on.plugins.tomcat
Class TomcatServerOperationsDelegate
java.lang.Object
org.jboss.on.plugins.tomcat.TomcatServerOperationsDelegate
public class TomcatServerOperationsDelegate
- extends Object
Handles performing operations on a Tomcat Server
- Author:
- Jay Shaughnessy, Ian Springer, Jason Dobies, Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHUTDOWN_SCRIPT_ENVIRONMENT_PROPERTY
public static final String SHUTDOWN_SCRIPT_ENVIRONMENT_PROPERTY
- See Also:
- Constant Field Values
START_SCRIPT_ENVIRONMENT_PROPERTY
public static final String START_SCRIPT_ENVIRONMENT_PROPERTY
- See Also:
- Constant Field Values
TomcatServerOperationsDelegate
public TomcatServerOperationsDelegate(TomcatServerComponent serverComponent,
SystemInfo systemInfo)
invoke
public OperationResult invoke(TomcatServerComponent.SupportedOperations operation,
Configuration parameters)
throws InterruptedException
- Performs the specified operation. The result of the operation will be indicated in the return. If there is an
error, an
RuntimeException will be thrown.
- Parameters:
operation - the operation to performparameters - parameters to the operation call
- Returns:
- if successful, the result object will contain a success message
- Throws:
RuntimeException - if any errors occur while trying to perform the operation
InterruptedException
setProcessExecutionEnvironment
public static void setProcessExecutionEnvironment(ProcessExecution processExecution,
String catalinaHome,
String catalinaBase)
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.