C D G I L P R S

C

clear() - Method in interface com.mycila.plugin.api.PluginCache
Clear the plugin cache, forcing a reload at next getPlugins() call
com.mycila.plugin.api - package com.mycila.plugin.api
 
com.mycila.plugin.spi - package com.mycila.plugin.spi
 
contains(String) - Method in interface com.mycila.plugin.api.PluginCache
 
contains(String) - Method in interface com.mycila.plugin.api.PluginResolver
Check if a plugin name exist
CyclicDependencyException - Exception in com.mycila.plugin.api
 
CyclicDependencyException(SortedMap<String, Plugin>) - Constructor for exception com.mycila.plugin.api.CyclicDependencyException
 

D

DuplicatePluginException - Exception in com.mycila.plugin.api
 
DuplicatePluginException(URL, String) - Constructor for exception com.mycila.plugin.api.DuplicatePluginException
 

G

getAfter() - Method in interface com.mycila.plugin.api.Plugin
Get the list of plugins that should be executed after this one
getBefore() - Method in interface com.mycila.plugin.api.Plugin
Get the list of plugins that should be executed before this one
getBindings() - Method in interface com.mycila.plugin.api.PluginCache
Load the plugins if not done and returns an unmodifiable map of plugins sorted by their names
getCache() - Method in class com.mycila.plugin.spi.PluginManager
 
getClazz() - Method in exception com.mycila.plugin.api.PluginCreationException
 
getCyclics() - Method in exception com.mycila.plugin.api.CyclicDependencyException
 
getDescriptor() - Method in exception com.mycila.plugin.api.DuplicatePluginException
 
getDescriptor() - Method in exception com.mycila.plugin.api.PluginCreationException
 
getLoader() - Method in class com.mycila.plugin.spi.PluginManager
 
getMissingDependencies() - Method in interface com.mycila.plugin.api.PluginResolver
Returns all dependencies missing, regardless of all plugins
getMissingDependenciesByPlugin() - Method in interface com.mycila.plugin.api.PluginResolver
Get the list of plugin names that have been declared as dependencies in Plugin.getBefore() and Plugin.getAfter() but that have not been loaded (because not found, inexisting, ...)
getName() - Method in interface com.mycila.plugin.api.PluginBinding
 
getPlugin() - Method in exception com.mycila.plugin.api.DuplicatePluginException
 
getPlugin() - Method in exception com.mycila.plugin.api.InexistingPluginException
 
getPlugin() - Method in interface com.mycila.plugin.api.PluginBinding
 
getPlugin() - Method in exception com.mycila.plugin.api.PluginCreationException
 
getPlugin(String) - Method in interface com.mycila.plugin.api.PluginResolver
Get a specific plugin.
getPlugins() - Method in interface com.mycila.plugin.api.PluginResolver
Get all available plugins
getPluginType() - Method in exception com.mycila.plugin.api.PluginCreationException
 
getResolvedPlugins() - Method in interface com.mycila.plugin.api.PluginResolver
Get the list of plugins in order of dependencies, resolved by PluginResolver.getResolvedPluginsName().
getResolvedPluginsName() - Method in interface com.mycila.plugin.api.PluginResolver
List all plugin names, in order of dependencies / execution, thanks to Plugin.getBefore() and Plugin.getAfter().
getResolver() - Method in class com.mycila.plugin.spi.PluginManager
 

I

InexistingPluginException - Exception in com.mycila.plugin.api
 
InexistingPluginException(String) - Constructor for exception com.mycila.plugin.api.InexistingPluginException
 

L

loadPlugins() - Method in interface com.mycila.plugin.api.PluginLoader
Load (and reload for subsequent calls) all the available plugins

P

Plugin - Interface in com.mycila.plugin.api
Defines a plugin and its dependencies / order of execution
PluginBinding<T extends Plugin> - Interface in com.mycila.plugin.api
 
PluginCache<T extends Plugin> - Interface in com.mycila.plugin.api
The PluginCache is responsible of caching all plugins loaded and add / modify them at runtime.
PluginCreationException - Exception in com.mycila.plugin.api
 
PluginCreationException(String, URL, String, String, Class<?>, Throwable) - Constructor for exception com.mycila.plugin.api.PluginCreationException
 
PluginCreationException(String, URL, String, String, Class<?>) - Constructor for exception com.mycila.plugin.api.PluginCreationException
 
PluginException - Exception in com.mycila.plugin.api
 
PluginException(String) - Constructor for exception com.mycila.plugin.api.PluginException
 
PluginException(String, Throwable) - Constructor for exception com.mycila.plugin.api.PluginException
 
PluginIOException - Exception in com.mycila.plugin.api
 
PluginIOException(Throwable, String, Object...) - Constructor for exception com.mycila.plugin.api.PluginIOException
 
PluginLoader<T extends Plugin> - Interface in com.mycila.plugin.api
The PluginLoader is responsible of loading all plugins found.
PluginManager<T extends Plugin> - Class in com.mycila.plugin.spi
Defines a new plugin manager based on a plugin descriptor or memory based if you do not pass a descriptor (i.e.
PluginManager(Class<T>) - Constructor for class com.mycila.plugin.spi.PluginManager
 
PluginManager(Class<T>, String) - Constructor for class com.mycila.plugin.spi.PluginManager
 
PluginResolver<T extends Plugin> - Interface in com.mycila.plugin.api
The PluginResolver is responsible of checking for module dependencies to resolve missing dependencies, runnable plugins and provides methods to facilitate plugin access.

R

registerPlugin(String, T) - Method in interface com.mycila.plugin.api.PluginCache
Install a plugin at runtime in the current cache, overwriting existing one.
registerPlugins(Map<String, T>) - Method in interface com.mycila.plugin.api.PluginCache
Install some plugins at runtime in the current cache, overwriting existing ones.
removePlugins(String...) - Method in interface com.mycila.plugin.api.PluginCache
Remove some plugins from the current cache.

S

setExclusions(String...) - Method in interface com.mycila.plugin.api.PluginLoader
Set which plugin names should not be loaded
setExclusions(Collection<String>) - Method in interface com.mycila.plugin.api.PluginLoader
Set which plugin names should not be loaded
setLoader(ClassLoader) - Method in interface com.mycila.plugin.api.PluginLoader
Set which classloader should be used to instanciate plugin classes.

C D G I L P R S

Copyright © 2008-2010 Mycila. All Rights Reserved.