org.mule.devkit.generation.api
Class PluginScanner

java.lang.Object
  extended by org.mule.devkit.generation.api.PluginScanner

public class PluginScanner
extends Object

The plugin scanner is responsible for scanning the specified classpath and discovering all the available plugins.


Constructor Summary
protected PluginScanner()
           
 
Method Summary
 List<Plugin> getAllPlugins(ClassLoader ucl)
          Gets all the Plugins discovered so far.
static PluginScanner getInstance()
           
static void setInstance(PluginScanner pluginScanner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginScanner

protected PluginScanner()
Method Detail

getInstance

public static PluginScanner getInstance()

getAllPlugins

public List<Plugin> getAllPlugins(ClassLoader ucl)
                           throws MalformedURLException
Gets all the Plugins discovered so far.

A plugins are enumerated when this method is called for the first time, by taking the specified ClassLoader into account.

Parameters:
ucl - The user defined class loader
Throws:
MalformedURLException

setInstance

public static void setInstance(PluginScanner pluginScanner)


Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.