|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.modules.plugins.jbossas7.BaseComponent<T>
public class BaseComponent<T extends ResourceComponent<?>>
| Constructor Summary | |
|---|---|
BaseComponent()
|
|
| Method Summary | |
|---|---|
CreateResourceReport |
createResource(CreateResourceReport report)
|
void |
deleteResource()
|
protected CreateResourceReport |
deployContent(CreateResourceReport report)
Deploy content to the remote server - this is one half of #createResource |
Address |
getAddress()
|
protected ASConnection |
getASConnection()
|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability()
Return availability of this resource |
protected String |
getPath()
|
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
Gather measurement data |
OperationResult |
invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
|
org.rhq.core.domain.configuration.Configuration |
loadResourceConfiguration()
|
CreateResourceReport |
runDeploymentMagicOnServer(CreateResourceReport report,
String runtimeName,
String deploymentName,
String hash)
Do the actual fumbling with the domain api to deploy the uploaded content |
void |
setConnection(ASConnection connection)
|
void |
setPath(String path)
|
void |
start(ResourceContext context)
Start the resource connection |
void |
stop()
Tear down the resource connection |
void |
updateResourceConfiguration(ConfigurationUpdateReport report)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseComponent()
| Method Detail |
|---|
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetAvailabilityFacet.getAvailability()
public void start(ResourceContext context)
throws InvalidPluginConfigurationException,
Exception
start in interface ResourceComponent<T extends ResourceComponent<?>>InvalidPluginConfigurationException
ExceptionResourceComponent.start(org.rhq.core.pluginapi.inventory.ResourceContext)public void stop()
stop in interface ResourceComponent<T extends ResourceComponent<?>>ResourceComponent.stop()
public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
getValues in interface MeasurementFacetExceptionMeasurementFacet.getValues(org.rhq.core.domain.measurement.MeasurementReport, java.util.Set)protected ASConnection getASConnection()
protected String getPath()
public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
throws Exception
loadResourceConfiguration in interface ConfigurationFacetExceptionpublic void updateResourceConfiguration(ConfigurationUpdateReport report)
updateResourceConfiguration in interface ConfigurationFacet
public void deleteResource()
throws Exception
deleteResource in interface DeleteResourceFacetExceptionpublic CreateResourceReport createResource(CreateResourceReport report)
createResource in interface CreateChildResourceFacetprotected CreateResourceReport deployContent(CreateResourceReport report)
report - Create resource report that tells us what to do
public CreateResourceReport runDeploymentMagicOnServer(CreateResourceReport report,
String runtimeName,
String deploymentName,
String hash)
report - CreateResourceReport to report the resultruntimeName - File name to use as runtime namedeploymentName - Name of the deploymenthash - Hash of the content bytes
public OperationResult invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
throws InterruptedException,
Exception
invokeOperation in interface OperationFacetInterruptedException
Exceptionpublic void setConnection(ASConnection connection)
public void setPath(String path)
public Address getAddress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||