org.rhq.core.pc.plugin
Class PluginEnvironment
java.lang.Object
org.rhq.core.pc.plugin.PluginEnvironment
public class PluginEnvironment
- extends Object
Stores the context of a loaded plugin. This currently includes the plugin's name and the loader that was used to
load its plugin descriptor.
- Author:
- Ian Springer
pluginName
protected String pluginName
pluginDescriptorLoader
protected PluginDescriptorLoader pluginDescriptorLoader
PluginEnvironment
public PluginEnvironment(String pluginName,
PluginDescriptorLoader pluginDescriptorLoader)
- Creates a new plugin environment.
- Parameters:
pluginName - the plugin's namepluginDescriptorLoader - the loader that was used to load the plugin's descriptor
destroy
public void destroy()
getPluginName
public String getPluginName()
getPluginClassLoader
public ClassLoader getPluginClassLoader()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.