| java.lang.Object |
| ↳ |
com.atlassian.plugin.loaders.SinglePluginLoader |
Class Overview
Loads a single plugin from the descriptor provided, which can either be an InputStream
or a resource on the classpath. The classes used by the plugin must already be available
on the classpath because this plugin loader does not load any classes.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.plugin.loaders.PluginLoader
|
Fields
protected
Collection<Plugin>
plugins
Public Constructors
public
SinglePluginLoader
(String resource)
public
SinglePluginLoader
(URL url)
public
SinglePluginLoader
(InputStream is)
This constructor is deprecated.
since 2.2 use the version that passes a URL instead. Not used by the plugins system.
Public Methods
public
void
removePlugin
(Plugin plugin)
public
boolean
supportsAddition
()
public
boolean
supportsRemoval
()
Protected Methods
protected
InputStream
getSource
()