org.kuali.rice.kew.plugin
Class ServerPluginRegistry

java.lang.Object
  extended by org.kuali.rice.core.api.lifecycle.BaseLifecycle
      extended by org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer
          extended by org.kuali.rice.kew.plugin.BasePluginRegistry
              extended by 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)

Field Summary
 
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
 
Constructor Summary
ServerPluginRegistry()
           
 
Method Summary
 void addPluginEnvironment(PluginEnvironment pluginEnvironment)
           
protected  HotDeployer getHotDeployer()
           
protected  Reloader getReloader()
           
protected  void loadPlugins(File sharedPluginDirectory)
           
 File loadSharedPlugin()
           
 PluginEnvironment removePluginEnvironment(String pluginName)
           
 void setPluginDirectories(List<String> pluginDirectories)
           
 void setSharedPluginDirectory(File sharedPluginDirectory)
           
 void start()
           
 void stop()
           
protected  void stopHotDeployer()
           
protected  void stopReloader()
           
 
Methods inherited from class org.kuali.rice.kew.plugin.BasePluginRegistry
getPlugin, getPluginEnvironment, getPluginEnvironments, getPluginNames
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

ServerPluginRegistry

public ServerPluginRegistry()
Method Detail

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.