org.kuali.rice.kew.plugin
Class BasePluginRegistry

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
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

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
BasePluginRegistry()
           
BasePluginRegistry(QName name)
           
 
Method Summary
 void addPluginEnvironment(PluginEnvironment pluginEnvironment)
           
 Plugin getPlugin(QName pluginName)
           
 PluginEnvironment getPluginEnvironment(String pluginName)
           
 List<PluginEnvironment> getPluginEnvironments()
           
 List<QName> getPluginNames()
           
 PluginEnvironment removePluginEnvironment(String pluginName)
           
 
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
 
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, start, stop
 

Constructor Detail

BasePluginRegistry

public BasePluginRegistry()

BasePluginRegistry

public BasePluginRegistry(QName name)
Method Detail

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-2012 The Kuali Foundation. All Rights Reserved.