java.lang.Object | ||
↳ | java.lang.ClassLoader | |
↳ | com.atlassian.plugin.classloader.PluginsClassLoader |
A ClassLoader that will loop over all enabled Plugins, attempting to load the given class (or other resource) from the ClassLoader of each plugin in turn.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
Since 2.5.0, use
PluginsClassLoader(ClassLoader, PluginAccessor, PluginEventManager) instead
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Plugin that will be used to load the given class name.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The default implementation returns a "singleton" enumeration over the result
of
findResource(String) . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.ClassLoader
| |||||||||||
From class
java.lang.Object
|
This constructor is deprecated.
Since 2.5.0, use PluginsClassLoader(ClassLoader, PluginAccessor, PluginEventManager)
instead
parent | The parent classloader |
---|---|
pluginAccessor | The plugin accessor |
pluginEventManager | The plugin event manager |
Returns the Plugin that will be used to load the given class name. If no enabled plugin can load the given class, then null is returned.
className | the Class name |
---|
The default implementation returns a "singleton" enumeration over the result
of findResource(String)
.
name | the name of the resource |
---|
This implementation will not throw this exception | |
IOException |