org.instrumentmiddleware.cima.plugin.manager
Interface IPluginManager
- All Superinterfaces:
- org.springframework.context.ApplicationEventPublisherAware
- All Known Implementing Classes:
- ListPluginManager
public interface IPluginManager
- extends org.springframework.context.ApplicationEventPublisherAware
The ICIMAPluginManager is simply a container for plugins
- Author:
- andrew
| Methods inherited from interface org.springframework.context.ApplicationEventPublisherAware |
setApplicationEventPublisher |
addPlugin
boolean addPlugin(ICIMAPlugin plugin)
removePlugin
boolean removePlugin(ICIMAPlugin plugin)
getPlugin
ICIMAPlugin getPlugin(java.lang.String id)
listPluginIds
java.util.List<java.lang.String> listPluginIds()
startPlugin
void startPlugin(java.lang.String id)
throws PluginException,
ProcessException
- Throws:
PluginException
ProcessException
stopPlugin
void stopPlugin(java.lang.String id)
throws PluginException,
ProcessException
- Throws:
PluginException
ProcessException
startPlugin
void startPlugin(ICIMAPlugin plugin)
throws PluginException
- Throws:
PluginException
stopPlugin
void stopPlugin(ICIMAPlugin plugin)
throws PluginException
- Throws:
PluginException
autostartAllPlugins
void autostartAllPlugins()
throws PluginException
- Starts all plugins that have been added to the manager
and who's startOnLoad() method return true.
- Throws:
PluginException - If any plugin fails to start.
Copyright © 2008. All Rights Reserved.