org.kuali.rice.kew.plugin
Class BasePluginRegistry
java.lang.Object
org.kuali.rice.core.api.lifecycle.BaseLifecycle
org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer
org.kuali.rice.kew.plugin.BasePluginRegistry
- All Implemented Interfaces:
- Lifecycle, ObjectLoader, ResourceLoader, ServiceLocator, PluginRegistry
- Direct Known Subclasses:
- ServerPluginRegistry
public abstract class BasePluginRegistry
- extends ResourceLoaderContainer
- implements PluginRegistry
A base class for PluginRegistry
implementations. Is essentially a ResourceLoader
implementation that ensures plugins are the only ResourceLoaders used. Also maintains
information about the PluginEnvironments of the loaded plugins in this registry.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
Plugin
,
PluginEnvironment
Methods inherited from class org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer |
addResourceLoader, addResourceLoaderFirst, containsResourceLoader, getContents, getName, getObject, getResourceLoader, getResourceLoaderNames, getResourceLoaders, getService, removeAllResourceLoaders, removeResourceLoader, setName, start, stop, toString |
BasePluginRegistry
public BasePluginRegistry()
BasePluginRegistry
public BasePluginRegistry(QName name)
getPluginEnvironment
public PluginEnvironment getPluginEnvironment(String pluginName)
- Specified by:
getPluginEnvironment
in interface PluginRegistry
addPluginEnvironment
public void addPluginEnvironment(PluginEnvironment pluginEnvironment)
- Specified by:
addPluginEnvironment
in interface PluginRegistry
removePluginEnvironment
public PluginEnvironment removePluginEnvironment(String pluginName)
- Specified by:
removePluginEnvironment
in interface PluginRegistry
getPlugin
public Plugin getPlugin(QName pluginName)
getPluginNames
public List<QName> getPluginNames()
getPluginEnvironments
public List<PluginEnvironment> getPluginEnvironments()
- Specified by:
getPluginEnvironments
in interface PluginRegistry
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.