org.rhq.plugins.jbossas5
Class PlatformComponent
java.lang.Object
org.rhq.plugins.jbossas5.PlatformComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, ResourceComponent<ProfileServiceComponent>, MeasurementFacet, OperationFacet, ProfileServiceComponent<ProfileServiceComponent>, JMXComponent<ProfileServiceComponent>
public class PlatformComponent
- extends java.lang.Object
- implements ProfileServiceComponent<ProfileServiceComponent>, MeasurementFacet, OperationFacet, ConfigurationFacet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformComponent
public PlatformComponent()
start
public void start(ResourceContext<ProfileServiceComponent> context)
throws InvalidPluginConfigurationException,
java.lang.Exception
- Specified by:
start in interface ResourceComponent<ProfileServiceComponent>
- Throws:
InvalidPluginConfigurationException
java.lang.Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<ProfileServiceComponent>
getConnection
public ProfileServiceConnection getConnection()
- Specified by:
getConnection in interface ProfileServiceComponent<ProfileServiceComponent>
getEmsConnection
public org.mc4j.ems.connection.EmsConnection getEmsConnection()
- Specified by:
getEmsConnection in interface JMXComponent<ProfileServiceComponent>
createResource
public CreateResourceReport createResource(CreateResourceReport report)
getValues
public void getValues(MeasurementReport report,
java.util.Set<MeasurementScheduleRequest> requests)
- Specified by:
getValues in interface MeasurementFacet
loadResourceConfiguration
public Configuration loadResourceConfiguration()
throws java.lang.Exception
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet
- Throws:
java.lang.Exception
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport report)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet
getAvailability
public AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
parsePropertyName
public java.lang.String[] parsePropertyName(java.lang.String name)
getObjectProperty
protected java.lang.Object getObjectProperty(java.lang.Object value,
java.lang.String property)
setMeasurementData
public void setMeasurementData(MeasurementReport report,
java.lang.Object value,
MeasurementScheduleRequest request,
MeasurementDefinition measurementDefinition)
invokeOperation
public OperationResult invokeOperation(java.lang.String name,
Configuration parameters)
throws java.lang.InterruptedException,
java.lang.Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
java.lang.InterruptedException
java.lang.Exception
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.