org.modeshape.rhq.plugin
Class RepositoryComponent

java.lang.Object
  extended by org.modeshape.rhq.plugin.Facet
      extended by org.modeshape.rhq.plugin.RepositoryComponent
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 RepositoryComponent
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
RepositoryComponent()
           
 
Method Summary
 org.rhq.core.pluginapi.inventory.CreateResourceReport createResource(org.rhq.core.pluginapi.inventory.CreateResourceReport arg0)
          
 void getValues(org.rhq.core.domain.measurement.MeasurementReport arg0, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> arg1)
          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, generateInstallationSteps, getAvailability, getComponentIdentifier, getConnection, getDefaultPluginConfiguration, getEmsConnection, 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

RepositoryComponent

public RepositoryComponent()
Method Detail

getValues

public void getValues(org.rhq.core.domain.measurement.MeasurementReport arg0,
                      Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> arg1)
               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)


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