org.teiid.rhq.plugin
Class DataRoleComponent
java.lang.Object
org.teiid.rhq.plugin.Facet
org.teiid.rhq.plugin.DataRoleComponent
- 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 DataRoleComponent
- extends Facet
Component class for a Teiid VDB Data Role
| Fields inherited from interface org.rhq.plugins.jmx.JMXComponent |
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP |
|
Method Summary |
org.rhq.core.pluginapi.inventory.CreateResourceReport |
createResource(org.rhq.core.pluginapi.inventory.CreateResourceReport createResourceReport)
|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability()
|
org.rhq.plugins.jbossas5.connection.ProfileServiceConnection |
getConnection()
|
org.mc4j.ems.connection.EmsConnection |
getEmsConnection()
|
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport arg0,
java.util.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. |
org.rhq.core.domain.configuration.Configuration |
loadResourceConfiguration()
The plugin container will call this method and it needs to obtain the
current configuration of the managed resource. |
void |
start(org.rhq.core.pluginapi.inventory.ResourceContext context)
This is called when your component has been started with the given
context. |
void |
updateResourceConfiguration(org.rhq.core.pluginapi.configuration.ConfigurationUpdateReport report)
The plugin container will call this method when it has a new
configuration for your managed resource. |
| Methods inherited from class org.teiid.rhq.plugin.Facet |
componentType, createContentBasedResource, deleteResource, deployPackages, discoverDeployedPackages, execute, generateInstallationSteps, getComponentIdentifier, getDefaultPluginConfiguration, getManagedProperties, getResourceConfiguration, invokeOperation, isAvailable, removePackages, retrievePackageBits, setComponentIdentifier, setComponentName, setMetricArguments, setOperationArguments, setResourceConfiguration, stop, updateComponent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataRoleComponent
public DataRoleComponent()
start
public void start(org.rhq.core.pluginapi.inventory.ResourceContext context)
- Description copied from class:
Facet
- This is called when your component has been started with the given
context. You normally initialize some internal state of your component as
well as attempt to make a stateful connection to your managed resource.
- Specified by:
start in interface org.rhq.core.pluginapi.inventory.ResourceComponent<org.rhq.core.pluginapi.inventory.ResourceComponent>- Overrides:
start in class Facet
- See Also:
ResourceComponent.start(ResourceContext)
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability in interface org.rhq.core.pluginapi.availability.AvailabilityFacet- Overrides:
getAvailability in class Facet
getValues
public void getValues(org.rhq.core.domain.measurement.MeasurementReport arg0,
java.util.Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> arg1)
throws java.lang.Exception
- Description copied from class:
Facet
- 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:
java.lang.Exception- See Also:
MeasurementFacet.getValues(MeasurementReport, Set)
updateResourceConfiguration
public void updateResourceConfiguration(org.rhq.core.pluginapi.configuration.ConfigurationUpdateReport report)
- The plugin container will call this method when it has a new
configuration for your managed resource. Your plugin will re-configure
the managed resource in your own custom way, setting its configuration
based on the new values of the given configuration.
- Specified by:
updateResourceConfiguration in interface org.rhq.core.pluginapi.configuration.ConfigurationFacet- Overrides:
updateResourceConfiguration in class Facet
- See Also:
ConfigurationFacet.updateResourceConfiguration(ConfigurationUpdateReport)
loadResourceConfiguration
public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
- Description copied from class:
Facet
- The plugin container will call this method and it needs to obtain the
current configuration of the managed resource. Your plugin will obtain
the managed resource's configuration in your own custom way and populate
the returned Configuration object with the managed resource's
configuration property values.
- Specified by:
loadResourceConfiguration in interface org.rhq.core.pluginapi.configuration.ConfigurationFacet- Overrides:
loadResourceConfiguration in class Facet
- See Also:
ConfigurationFacet.loadResourceConfiguration()
createResource
public org.rhq.core.pluginapi.inventory.CreateResourceReport createResource(org.rhq.core.pluginapi.inventory.CreateResourceReport createResourceReport)
- Specified by:
createResource in interface org.rhq.core.pluginapi.inventory.CreateChildResourceFacet- Overrides:
createResource in class Facet
getConnection
public org.rhq.plugins.jbossas5.connection.ProfileServiceConnection getConnection()
getEmsConnection
public org.mc4j.ems.connection.EmsConnection getEmsConnection()
Copyright © 2011. All Rights Reserved.