org.rhq.modules.plugins.jbossas7
Class WebConnectorComponent
java.lang.Object
org.rhq.modules.plugins.jbossas7.BaseComponent<WebConnectorComponent>
org.rhq.modules.plugins.jbossas7.WebConnectorComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, CreateChildResourceFacet, DeleteResourceFacet, ResourceComponent<WebConnectorComponent>, MeasurementFacet, OperationFacet, AS7Component<WebConnectorComponent>
public class WebConnectorComponent
- extends BaseComponent<WebConnectorComponent>
- implements MeasurementFacet
Component class for the WebConnector (subsystem=web,connector=* )
- Author:
- Heiko W. Rupp
|
Method Summary |
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
Gather measurement data |
org.rhq.core.domain.configuration.Configuration |
loadResourceConfiguration()
Post-process the result from confguration reading to return the computed
value of max-connections if none is provided by the server. |
| Methods inherited from class org.rhq.modules.plugins.jbossas7.BaseComponent |
createResource, deleteResource, deployContent, getAddress, getASConnection, getAvailability, getPath, getServerComponent, getStringValue, invokeOperation, readAttribute, readAttribute, readAttribute, runDeploymentMagicOnServer, setConnection, setPath, start, stop, updateResourceConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebConnectorComponent
public WebConnectorComponent()
getValues
public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
- Description copied from class:
BaseComponent
- Gather measurement data
- Specified by:
getValues in interface MeasurementFacet- Overrides:
getValues in class BaseComponent<WebConnectorComponent>
- Throws:
Exception- See Also:
MeasurementFacet.getValues(org.rhq.core.domain.measurement.MeasurementReport, java.util.Set)
loadResourceConfiguration
public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
throws Exception
- Post-process the result from confguration reading to return the computed
value of max-connections if none is provided by the server.
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet- Overrides:
loadResourceConfiguration in class BaseComponent<WebConnectorComponent>
- Returns:
- The configuration of the web connector
- Throws:
Exception - If anything goes wrong
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.