|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.modules.plugins.jbossas7.BaseComponent
org.rhq.modules.plugins.jbossas7.BaseServerComponent
public class BaseServerComponent
Base component for functionality that is common to Standalone AS and HostControllers
| Constructor Summary | |
|---|---|
BaseServerComponent()
|
|
| Method Summary | |
|---|---|
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set metrics)
Gather measurement data |
protected OperationResult |
installManagementUser(org.rhq.core.domain.configuration.Configuration parameters,
org.rhq.core.domain.configuration.Configuration pluginConfig,
AS7Mode mode)
|
protected OperationResult |
postProcessResult(String name,
Result res)
Do some post processing of the Result - especially the 'shutdown' operation needs a special treatment. |
protected OperationResult |
restartServer(org.rhq.core.domain.configuration.Configuration parameters,
AS7Mode mode)
Restart the server by first executing a 'shutdown' operation via its API. |
protected OperationResult |
startServer(AS7Mode mode)
Start the server by calling the start script listed in the plugin configuration. |
| Methods inherited from class org.rhq.modules.plugins.jbossas7.BaseComponent |
|---|
createResource, deleteResource, deployContent, getAddress, getASConnection, getAvailability, getPath, invokeOperation, loadResourceConfiguration, runDeploymentMagicOnServer, setConnection, setPath, start, stop, updateResourceConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseServerComponent()
| Method Detail |
|---|
protected OperationResult restartServer(org.rhq.core.domain.configuration.Configuration parameters,
AS7Mode mode)
throws Exception
parameters - Parameters to pass to the (recursive) invocation of #invokeOperationmode -
Exception - If anything goes wrongprotected OperationResult startServer(AS7Mode mode)
mode -
protected OperationResult postProcessResult(String name,
Result res)
name - Name of the operationres - Result of the operation vs. AS7
protected OperationResult installManagementUser(org.rhq.core.domain.configuration.Configuration parameters,
org.rhq.core.domain.configuration.Configuration pluginConfig,
AS7Mode mode)
public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set metrics)
throws Exception
BaseComponent
getValues in interface MeasurementFacetgetValues in class BaseComponentExceptionMeasurementFacet.getValues(org.rhq.core.domain.measurement.MeasurementReport, java.util.Set)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||