public class PluginScanner extends Object
Modifier | Constructor and Description |
---|---|
protected |
PluginScanner() |
Modifier and Type | Method and Description |
---|---|
List<Plugin> |
getAllPlugins(ClassLoader ucl)
Gets all the
Plugin s discovered so far. |
static PluginScanner |
getInstance() |
static void |
setInstance(PluginScanner pluginScanner) |
public static PluginScanner getInstance()
public List<Plugin> getAllPlugins(ClassLoader ucl) throws MalformedURLException
Plugin
s discovered so far.
A plugins are enumerated when this method is called for the first time,
by taking the specified ClassLoader into account.ucl
- The user defined class loaderMalformedURLException
public static void setInstance(PluginScanner pluginScanner)
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.