org.kuali.rice.kew.plugin
Class Plugin
java.lang.Object
org.kuali.rice.core.api.lifecycle.BaseLifecycle
org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer
org.kuali.rice.core.framework.resourceloader.BaseResourceLoader
org.kuali.rice.core.impl.resourceloader.BaseWrappingResourceLoader
org.kuali.rice.kew.plugin.Plugin
- All Implemented Interfaces:
- Lifecycle, ObjectLoader, ResourceLoader, ServiceLocator
public class Plugin
- extends BaseWrappingResourceLoader
A KEW Plugin. A Plugin represents a distinct classloading space living below (as a child) of the core
KEW classloader. It allows for loading of plugin resources from core components of the system.
Essentially a Plugin is a specialized ResourceLoader with a custom classloader and attached configuration.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Plugin
public Plugin(QName name,
Config config,
ClassLoader classLoader)
start
public void start()
- Starts the plugin.
- Specified by:
start
in interface Lifecycle
- Overrides:
start
in class BaseWrappingResourceLoader
stop
public void stop()
- Stops the plugin.
- Specified by:
stop
in interface Lifecycle
- Overrides:
stop
in class BaseResourceLoader
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface Lifecycle
- Overrides:
isStarted
in class BaseLifecycle
addPluginListener
public void addPluginListener(PluginListener pluginListener)
removePluginListener
public void removePluginListener(PluginListener pluginListener)
startPluginListeners
protected void startPluginListeners()
stopPluginListeners
protected void stopPluginListeners()
- If we fail to stop a plugin listener, try the next one but don't propogate any
exceptions out of this method. Otherwise the plugin ends up dying and can't be
reloaded from a hot deploy.
isSupressStartupFailure
public boolean isSupressStartupFailure()
setSupressStartupFailure
public void setSupressStartupFailure(boolean supressStartupFailure)
bindThread
public void bindThread()
unbindThread
public void unbindThread()
getConfig
public Config getConfig()
toString
public String toString()
- Overrides:
toString
in class ResourceLoaderContainer
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.