public class Plugin extends BaseWrappingResourceLoader
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 and Description |
---|
Plugin(QName name,
Config config,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
addPluginListener(PluginListener pluginListener) |
Config |
getConfig() |
boolean |
isStarted() |
boolean |
isSuppressStartupFailure() |
void |
removePluginListener(PluginListener pluginListener) |
void |
setSuppressStartupFailure(boolean suppressStartupFailure) |
void |
start()
Starts the plugin.
|
protected void |
startPluginListeners() |
void |
stop()
Stops the plugin.
|
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.
|
String |
toString() |
cacheService, getPackageNamesToFilter, getService, postProcessObject, postProcessService, shouldCacheService, shouldWrapObject, shouldWrapService
getClassLoader, getContents, getObject, getServiceLocator, isPostProcessContainer, setClassLoader, setPostProcessContainer
addResourceLoader, addResourceLoaderFirst, containsResourceLoader, getName, getResourceLoader, getResourceLoaderNames, getResourceLoaders, removeAllResourceLoaders, removeResourceLoader, setName
setStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addResourceLoader, addResourceLoaderFirst, getName, getResourceLoader, getResourceLoaderNames, getResourceLoaders, removeResourceLoader, setName
public Plugin(QName name, Config config, ClassLoader classLoader)
public void start()
start
in interface Lifecycle
start
in class BaseWrappingResourceLoader
public void stop()
stop
in interface Lifecycle
stop
in class BaseResourceLoader
public boolean isStarted()
isStarted
in interface Lifecycle
isStarted
in class BaseLifecycle
public void addPluginListener(PluginListener pluginListener)
public void removePluginListener(PluginListener pluginListener)
protected void startPluginListeners()
protected void stopPluginListeners()
public boolean isSuppressStartupFailure()
public void setSuppressStartupFailure(boolean suppressStartupFailure)
public String toString()
toString
in class ResourceLoaderContainer
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.