org.mule.devkit.generation.api
Class PluginScanner

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

public final class PluginScanner
extends Object

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


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

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


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