org.rhq.plugins.jbossas5.script
Class ScriptDiscoveryComponent

java.lang.Object
  extended by org.rhq.plugins.jbossas5.script.ScriptDiscoveryComponent
All Implemented Interfaces:
ManualAddFacet<ApplicationServerComponent<?>>, ResourceDiscoveryComponent<ApplicationServerComponent<?>>, ResourceUpgradeFacet<ApplicationServerComponent<?>>

public class ScriptDiscoveryComponent
extends Object
implements ResourceDiscoveryComponent<ApplicationServerComponent<?>>, ManualAddFacet<ApplicationServerComponent<?>>, ResourceUpgradeFacet<ApplicationServerComponent<?>>

A discovery component for Script services.

Author:
Ian Springer

Constructor Summary
ScriptDiscoveryComponent()
           
 
Method Summary
 DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfig, ResourceDiscoveryContext<ApplicationServerComponent<?>> discoveryContext)
           
 Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<ApplicationServerComponent<?>> discoveryContext)
           
 org.rhq.core.domain.resource.ResourceUpgradeReport upgrade(ResourceUpgradeContext<ApplicationServerComponent<?>> upgradeContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptDiscoveryComponent

public ScriptDiscoveryComponent()
Method Detail

discoverResources

public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<ApplicationServerComponent<?>> discoveryContext)
                                                 throws InvalidPluginConfigurationException
Specified by:
discoverResources in interface ResourceDiscoveryComponent<ApplicationServerComponent<?>>
Throws:
InvalidPluginConfigurationException

discoverResource

public DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfig,
                                                  ResourceDiscoveryContext<ApplicationServerComponent<?>> discoveryContext)
                                           throws InvalidPluginConfigurationException
Specified by:
discoverResource in interface ManualAddFacet<ApplicationServerComponent<?>>
Throws:
InvalidPluginConfigurationException

upgrade

public org.rhq.core.domain.resource.ResourceUpgradeReport upgrade(ResourceUpgradeContext<ApplicationServerComponent<?>> upgradeContext)
Specified by:
upgrade in interface ResourceUpgradeFacet<ApplicationServerComponent<?>>


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.