|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.plugins.jbossas5.ApplicationServerOperationsDelegate
public class ApplicationServerOperationsDelegate
Handles performing operations (Start, Shut Down, and Restart) on a JBoss AS 5.x instance.
| Constructor Summary | |
|---|---|
ApplicationServerOperationsDelegate(ApplicationServerComponent serverComponent)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationServerOperationsDelegate(ApplicationServerComponent serverComponent)
| Method Detail |
|---|
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 call
RuntimeException - if any errors occur while trying to perform the operation
InterruptedException@NotNull public File getStartScriptPath(StartScriptConfiguration startScriptConfig)
@NotNull public File getShutdownScriptPath()
@Nullable public File getJavaHomePath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||