Servoy 5.x Public API

com.servoy.j2db.plugins
Interface IPluginManager

All Superinterfaces:
com.servoy.j2db.IManager

public interface IPluginManager
extends com.servoy.j2db.IManager

Public interface for the plugin manager


Method Summary
 ClassLoader getClassLoader()
          Get the plugin classloader
<T extends IPlugin>
T
getPlugin(Class<T> pluginSubType, String name)
          Create a bean based from an classname.
<T extends IPlugin>
List<T>
getPlugins(Class<T> pluginSubType)
          Get a list of all loaded plugins for a class type
 
Methods inherited from interface com.servoy.j2db.IManager
flushCachedItems, init
 

Method Detail

getClassLoader

ClassLoader getClassLoader()
Get the plugin classloader

Returns:
ClassLoader

getPlugin

<T extends IPlugin> T getPlugin(Class<T> pluginSubType,
                                String name)
Create a bean based from an classname.

Parameters:
pluginSubType - the class
name - the plugin name
Returns:
the instance

getPlugins

<T extends IPlugin> List<T> getPlugins(Class<T> pluginSubType)
Get a list of all loaded plugins for a class type

Parameters:
pluginSubType - the class name
Returns:
instances

Copyright © 2010 Servoy B.V.