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:
- org.kuali.rice.core.api.lifecycle.Lifecycle, org.kuali.rice.core.api.resourceloader.ObjectLoader, org.kuali.rice.core.api.resourceloader.ResourceLoader, org.kuali.rice.core.api.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)
Fields inherited from interface org.kuali.rice.core.api.resourceloader.ResourceLoader |
EMBEDDED_CLIENT_APP_RESOURCE_LOADER, EMBEDDED_PLUGIN, KSB_CONFIGURER_CONTAINER_NAME, PLUGIN_REGISTRY_LOADER_NAME, RMI_PLUGIN, ROOT_RESOURCE_LOADER_NAME, WEB_SERVICE_PLUGIN |
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 |
Methods inherited from class org.kuali.rice.core.api.lifecycle.BaseLifecycle |
isStarted, setStarted |
Methods inherited from interface org.kuali.rice.core.api.resourceloader.ResourceLoader |
addResourceLoader, addResourceLoaderFirst, getContents, getName, getResourceLoader, getResourceLoaderNames, getResourceLoaders, removeResourceLoader, setName |
Methods inherited from interface org.kuali.rice.core.api.resourceloader.ObjectLoader |
getObject |
Methods inherited from interface org.kuali.rice.core.api.resourceloader.ServiceLocator |
getService |
Methods inherited from interface org.kuali.rice.core.api.lifecycle.Lifecycle |
isStarted |
ServerPluginRegistry
public ServerPluginRegistry()
start
public void start()
throws Exception
- Specified by:
start
in interface org.kuali.rice.core.api.lifecycle.Lifecycle
- Overrides:
start
in class org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface org.kuali.rice.core.api.lifecycle.Lifecycle
- Overrides:
stop
in class org.kuali.rice.core.api.resourceloader.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 © 2004-2011 The Kuali Foundation. All Rights Reserved.