org.kuali.rice.kew.plugin
Class ServerPluginRegistry
java.lang.Object
org.kuali.rice.core.api.lifecycle.BaseLifecycle
org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer
org.kuali.rice.kew.plugin.BasePluginRegistry
org.kuali.rice.kew.plugin.ServerPluginRegistry
- All Implemented Interfaces:
- Lifecycle, ObjectLoader, ResourceLoader, ServiceLocator, PluginRegistry
public class ServerPluginRegistry
- extends BasePluginRegistry
A PluginRegistry implementation which loads plugins from the file system on the server.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer |
addResourceLoader, addResourceLoaderFirst, containsResourceLoader, getContents, getName, getObject, getResourceLoader, getResourceLoaderNames, getResourceLoaders, getService, removeAllResourceLoaders, removeResourceLoader, setName, toString |
ServerPluginRegistry
public ServerPluginRegistry()
start
public void start()
throws Exception
- Specified by:
start
in interface Lifecycle
- Overrides:
start
in class ResourceLoaderContainer
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Lifecycle
- Overrides:
stop
in class ResourceLoaderContainer
- Throws:
Exception
stopReloader
protected void stopReloader()
stopHotDeployer
protected void stopHotDeployer()
loadPlugins
protected void loadPlugins(File sharedPluginDirectory)
addPluginEnvironment
public void addPluginEnvironment(PluginEnvironment pluginEnvironment)
- Specified by:
addPluginEnvironment
in interface PluginRegistry
- Overrides:
addPluginEnvironment
in class BasePluginRegistry
removePluginEnvironment
public PluginEnvironment removePluginEnvironment(String pluginName)
- Specified by:
removePluginEnvironment
in interface PluginRegistry
- Overrides:
removePluginEnvironment
in class BasePluginRegistry
loadSharedPlugin
public File loadSharedPlugin()
setPluginDirectories
public void setPluginDirectories(List<String> pluginDirectories)
setSharedPluginDirectory
public void setSharedPluginDirectory(File sharedPluginDirectory)
getHotDeployer
protected HotDeployer getHotDeployer()
getReloader
protected Reloader getReloader()
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.