|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.celtix.application.ApplicationPluginManager
public class ApplicationPluginManager
Constructor Summary | |
---|---|
ApplicationPluginManager()
|
Method Summary | |
---|---|
Configuration |
getConfiguration()
Returns the Configuration . |
Object |
getPlugin(String className)
Returns the plugin object with the given classname. |
Object |
getPluginByName(String pluginName)
Returns the plugin object with the given name. |
ClassLoader |
getPluginClassLoader()
Get the plugin class loader. |
void |
registerPlugin(Object plugin)
Registers a plugin object with the bus. |
void |
unloadPlugin(Object plugin)
Unload a plugin object after it has been explicitly unregistered. |
void |
unregisterPlugin(Object plugin)
Explicitly unregister the given plugin object from the bus. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationPluginManager()
Method Detail |
---|
public Object getPlugin(String className) throws PluginException
PluginManager
getPlugin
in interface PluginManager
className
- - the class name of the plugin.
PluginException
- - if there is a circular dependency loading
dependent objects of the plugin.public Object getPluginByName(String pluginName) throws PluginException
PluginManager
getPluginByName
in interface PluginManager
pluginName
- - the name of the plugin.
PluginException
- - if there is a circular dependency loading
dependent objects of the plugin.public void registerPlugin(Object plugin) throws PluginException
PluginManager
registerPlugin
in interface PluginManager
plugin
- - the plugin to register.
PluginException
- if the given plugin is already registered.public void unloadPlugin(Object plugin) throws PluginException
PluginManager
unloadPlugin
in interface PluginManager
plugin
- - the plugin to unload.
PluginException
- if the given plugin is still registered.public void unregisterPlugin(Object plugin) throws PluginException
PluginManager
unregisterPlugin
in interface PluginManager
plugin
- - the plugin to unregister.
PluginException
- if the given plugin is not registered.public ClassLoader getPluginClassLoader()
PluginManager
getPluginClassLoader
in interface PluginManager
public Configuration getConfiguration()
PluginManager
Configuration
.
getConfiguration
in interface PluginManager
|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |