org.rhq.core.pc.plugin
Class PluginDescriptorLoader
java.lang.Object
org.rhq.core.pc.plugin.PluginDescriptorLoader
public class PluginDescriptorLoader
- extends Object
This class handles parsing and validating an agent plugin's descriptor.
- Author:
- John Mazzitelli
PluginDescriptorLoader
public PluginDescriptorLoader(URL pluginJarUrl,
ClassLoader pluginClassLoader)
throws PluginContainerException
- Throws:
PluginContainerException
getPluginClassLoader
public ClassLoader getPluginClassLoader()
loadPluginDescriptor
public PluginDescriptor loadPluginDescriptor()
throws PluginContainerException
- Loads and validates the plugin descriptor from the plugin jar associated with this loader.
- Returns:
- the JAXB plugin descriptor object
- Throws:
PluginContainerException - on failure to load the descriptor
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.