org.rhq.plugins.jbossas5
Class AbstractManagedDeploymentDiscoveryComponent

java.lang.Object
  extended by org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent
All Implemented Interfaces:
ResourceDiscoveryComponent<ProfileServiceComponent<?>>, ResourceUpgradeFacet<ProfileServiceComponent<?>>
Direct Known Subclasses:
EmbeddedManagedDeploymentDiscoveryComponent, StandaloneManagedDeploymentDiscoveryComponent

public abstract class AbstractManagedDeploymentDiscoveryComponent
extends Object
implements ResourceDiscoveryComponent<ProfileServiceComponent<?>>, ResourceUpgradeFacet<ProfileServiceComponent<?>>

Discovery component for discovering JBAS 5.x/6.x deployments (EARs, WARs, EJB-JARs, etc.).

Author:
Mark Spritzler, Ian Springer

Constructor Summary
AbstractManagedDeploymentDiscoveryComponent()
           
 
Method Summary
protected abstract  boolean accept(org.jboss.managed.api.ManagedDeployment managedDeployment)
           
 Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<ProfileServiceComponent<?>> discoveryContext)
           
 org.rhq.core.domain.resource.ResourceUpgradeReport upgrade(ResourceUpgradeContext<ProfileServiceComponent<?>> upgradeContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractManagedDeploymentDiscoveryComponent

public AbstractManagedDeploymentDiscoveryComponent()
Method Detail

discoverResources

public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<ProfileServiceComponent<?>> discoveryContext)
Specified by:
discoverResources in interface ResourceDiscoveryComponent<ProfileServiceComponent<?>>

upgrade

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

accept

protected abstract boolean accept(org.jboss.managed.api.ManagedDeployment managedDeployment)


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