public class ApplicationServerOperationsDelegate extends Object
| Constructor and Description |
|---|
ApplicationServerOperationsDelegate(ApplicationServerComponent serverComponent) |
| Modifier and Type | Method and Description |
|---|---|
File |
getJavaHomePath()
Return the absolute path of this JBoss server's JAVA_HOME directory (e.g.
|
File |
getShutdownScriptPath()
Return the absolute path of this JBoss server's shutdown script (e.g.
|
File |
getStartScriptPath(StartScriptConfiguration startScriptConfig)
Return the absolute path of this JBoss server's start script (e.g.
|
OperationResult |
invoke(ApplicationServerSupportedOperations operation,
org.rhq.core.domain.configuration.Configuration parameters)
Performs the specified operation.
|
public ApplicationServerOperationsDelegate(ApplicationServerComponent serverComponent)
public OperationResult invoke(ApplicationServerSupportedOperations 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 operationInterruptedException@NotNull public File getStartScriptPath(StartScriptConfiguration startScriptConfig)
@NotNull public File getShutdownScriptPath()
@Nullable public File getJavaHomePath()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.