org.modeshape.rhq.plugin
Class SequencingServiceComponent

java.lang.Object
  extended by org.modeshape.rhq.plugin.Facet
      extended by org.modeshape.rhq.plugin.SequencingServiceComponent
All Implemented Interfaces:
org.rhq.core.pluginapi.availability.AvailabilityFacet, org.rhq.core.pluginapi.configuration.ConfigurationFacet, org.rhq.core.pluginapi.content.ContentFacet, org.rhq.core.pluginapi.inventory.CreateChildResourceFacet, org.rhq.core.pluginapi.inventory.DeleteResourceFacet, org.rhq.core.pluginapi.inventory.ResourceComponent<org.rhq.core.pluginapi.inventory.ResourceComponent>, org.rhq.core.pluginapi.measurement.MeasurementFacet, org.rhq.core.pluginapi.operation.OperationFacet, org.rhq.plugins.jbossas5.ProfileServiceComponent<org.rhq.core.pluginapi.inventory.ResourceComponent>, org.rhq.plugins.jmx.JMXComponent<org.rhq.core.pluginapi.inventory.ResourceComponent>

public class SequencingServiceComponent
extends Facet


Field Summary
 
Fields inherited from class org.modeshape.rhq.plugin.Facet
componentType, deploymentName, isAvailable, LOG, name, resourceConfiguration, resourceContext
 
Fields inherited from interface org.rhq.plugins.jmx.JMXComponent
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP
 
Constructor Summary
SequencingServiceComponent()
           
 
Method Summary
 org.rhq.core.pluginapi.inventory.CreateResourceReport createResource(org.rhq.core.pluginapi.inventory.CreateResourceReport arg0)
          
 org.rhq.plugins.jbossas5.connection.ProfileServiceConnection getConnection()
          
 org.mc4j.ems.connection.EmsConnection getEmsConnection()
          
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
          The plugin container will call this method when your resource component has been scheduled to collect some measurements now.
 
Methods inherited from class org.modeshape.rhq.plugin.Facet
componentType, deleteResource, deployPackages, discoverDeployedPackages, execute, generateInstallationSteps, getAvailability, getComponentIdentifier, getDefaultPluginConfiguration, getManagedProperties, getResourceConfiguration, invokeOperation, isAvailable, loadResourceConfiguration, removePackages, retrievePackageBits, setComponentIdentifier, setComponentName, setMetricArguments, setOperationArguments, setResourceConfiguration, start, stop, updateComponent, updateResourceConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequencingServiceComponent

public SequencingServiceComponent()
Method Detail

getValues

public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
                      Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
               throws Exception
The plugin container will call this method when your resource component has been scheduled to collect some measurements now. It is within this method that you actually talk to the managed resource and collect the measurement data that is has emitted.

Specified by:
getValues in interface org.rhq.core.pluginapi.measurement.MeasurementFacet
Specified by:
getValues in class Facet
Throws:
Exception
See Also:
Facet.getValues(org.rhq.core.domain.measurement.MeasurementReport, java.util.Set)

createResource

public org.rhq.core.pluginapi.inventory.CreateResourceReport createResource(org.rhq.core.pluginapi.inventory.CreateResourceReport arg0)

See Also:
CreateChildResourceFacet.createResource(org.rhq.core.pluginapi.inventory.CreateResourceReport)

getConnection

public org.rhq.plugins.jbossas5.connection.ProfileServiceConnection getConnection()

See Also:
ProfileServiceComponent.getConnection()

getEmsConnection

public org.mc4j.ems.connection.EmsConnection getEmsConnection()

See Also:
JMXComponent.getEmsConnection()


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.