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 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,
Exception
- Specified by:
start in interface ResourceComponent<ProfileServiceComponent<?>>
- Throws:
InvalidPluginConfigurationException
Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<ProfileServiceComponent<?>>
getResourceContext
@NotNull
public ResourceContext<ProfileServiceComponent<?>> getResourceContext()
- Specified by:
getResourceContext in interface ProfileServiceComponent<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(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
- Specified by:
getValues in interface MeasurementFacet
loadResourceConfiguration
public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
throws Exception
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet
- Throws:
Exception
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport report)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
parsePropertyName
public String[] parsePropertyName(String name)
getObjectProperty
protected Object getObjectProperty(Object value,
String property)
setMeasurementData
public void setMeasurementData(org.rhq.core.domain.measurement.MeasurementReport report,
Object value,
org.rhq.core.domain.measurement.MeasurementScheduleRequest request,
org.rhq.core.domain.measurement.MeasurementDefinition measurementDefinition)
invokeOperation
public OperationResult invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
throws InterruptedException,
Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
InterruptedException
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.