org.rhq.plugins.agent
Class AgentDiscoveryComponent
java.lang.Object
org.rhq.plugins.agent.AgentDiscoveryComponent
- All Implemented Interfaces:
- ResourceDiscoveryComponent, ResourceUpgradeFacet
public class AgentDiscoveryComponent
- extends Object
- implements ResourceDiscoveryComponent, ResourceUpgradeFacet
This is the main discovery component for the agent plugin that discovers the agent core.
- Author:
- John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentDiscoveryComponent
public AgentDiscoveryComponent()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext context)
- Simply returns the agent resource.
- Specified by:
discoverResources in interface ResourceDiscoveryComponent
- See Also:
ResourceDiscoveryComponent.discoverResources(ResourceDiscoveryContext)
upgrade
public org.rhq.core.domain.resource.ResourceUpgradeReport upgrade(ResourceUpgradeContext inventoriedResource)
- Specified by:
upgrade in interface ResourceUpgradeFacet
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.