org.rhq.core.clientapi.agent.metadata
Class PluginMetadataParser
java.lang.Object
org.rhq.core.clientapi.agent.metadata.PluginMetadataParser
public class PluginMetadataParser
- extends Object
This is a stateful class intended to hold the related metadata for a single plugin descriptor. It is designed to be
used by the PluginMetadataManager that will load multiple plugin descriptors and coordinate their metadata.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginMetadataParser
public PluginMetadataParser(PluginDescriptor descriptor,
Map<String,PluginMetadataParser> parsersByPlugin)
throws InvalidPluginDescriptorException
- Throws:
InvalidPluginDescriptorException
getPluginLifecycleListenerClass
public String getPluginLifecycleListenerClass()
getAllTypes
public List<ResourceType> getAllTypes()
getRootResourceTypes
public Set<ResourceType> getRootResourceTypes()
- Returns:
- the root types for this plugin (not necessarily root for the whole system)
parseDescriptor
public void parseDescriptor()
throws InvalidPluginDescriptorException
- Throws:
InvalidPluginDescriptorException
getDiscoveryComponentClass
public String getDiscoveryComponentClass(ResourceType resourceType)
- Returns the fully qualified name of the resource discovery component class for the given ResourceType.
This method is only called by the Plugin Container.
- Parameters:
resourceType - the ResourceType
- Returns:
- the resource discovery component class name
getComponentClass
public String getComponentClass(ResourceType resourceType)
- Returns the fully qualified name of the resource component class for the given ResourceType.
This method is only called by the Plugin Container.
- Parameters:
resourceType - the ResourceType
- Returns:
- the resource component class name
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.