public class ServerPluginEnvironment extends Object
| Constructor and Description |
|---|
ServerPluginEnvironment(URL pluginUrl,
ClassLoader classLoader,
ServerPluginDescriptorType descriptor)
Creates a new plugin environment.
|
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getPluginClassLoader() |
ServerPluginDescriptorType |
getPluginDescriptor() |
org.rhq.core.domain.plugin.PluginKey |
getPluginKey() |
URL |
getPluginUrl() |
String |
toString() |
public ServerPluginEnvironment(URL pluginUrl, ClassLoader classLoader, ServerPluginDescriptorType descriptor) throws Exception
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 URLExceptionpublic org.rhq.core.domain.plugin.PluginKey getPluginKey()
public URL getPluginUrl()
public ClassLoader getPluginClassLoader()
public ServerPluginDescriptorType getPluginDescriptor()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.