org.rhq.enterprise.server.plugin.pc
Class ServerPluginEnvironment
java.lang.Object
org.rhq.enterprise.server.plugin.pc.ServerPluginEnvironment
public class ServerPluginEnvironment
- extends java.lang.Object
Manages the context of a loaded plugin.
- Author:
- John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServerPluginEnvironment
public ServerPluginEnvironment(java.net.URL pluginUrl,
java.lang.ClassLoader classLoader,
ServerPluginDescriptorType descriptor)
throws java.lang.Exception
- Creates a new plugin environment.
- Parameters:
pluginUrl - where the plugin jar is located (may be null, mainly to support tests)classLoader - the plugin's new classloaderdescriptor - the plugin descriptor that was found and parsed in the plugin jar at the given URL
- Throws:
java.lang.Exception
getPluginKey
public PluginKey getPluginKey()
getPluginUrl
public java.net.URL getPluginUrl()
getPluginClassLoader
public java.lang.ClassLoader getPluginClassLoader()
getPluginDescriptor
public ServerPluginDescriptorType getPluginDescriptor()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.