public class CoreResourceLoader extends BaseWrappingResourceLoader
Modifier and Type | Field and Description |
---|---|
static QName |
NAME |
LOG
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 |
---|
CoreResourceLoader(ServiceLocator serviceLocator,
PluginRegistry registry) |
Modifier and Type | Method and Description |
---|---|
Object |
getObject(ObjectDefinition objectDefinition)
Constructs an instance of the Object using the given ObjectDefinition classname.
|
PluginRegistry |
getRegistry() |
Object |
getService(QName serviceName)
Overrides the standard getService method to looks for the service in the plugin if it can't find it in the core.
|
protected boolean |
isRemoteService(QName serviceName)
Returns true if the given service name is one which should be loaded from the service bus.
|
protected boolean |
shouldWrapService(QName serviceName,
Object service) |
void |
stop() |
protected boolean |
useRemoteEmailServices() |
cacheService, getPackageNamesToFilter, postProcessObject, postProcessService, shouldCacheService, shouldWrapObject, start
getClassLoader, getContents, getServiceLocator, isPostProcessContainer, setClassLoader, setPostProcessContainer
addResourceLoader, addResourceLoaderFirst, containsResourceLoader, getName, getResourceLoader, getResourceLoaderNames, getResourceLoaders, removeAllResourceLoaders, removeResourceLoader, setName, toString
isStarted, setStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addResourceLoader, addResourceLoaderFirst, getName, getResourceLoader, getResourceLoaderNames, getResourceLoaders, removeResourceLoader, setName
public CoreResourceLoader(ServiceLocator serviceLocator, PluginRegistry registry)
public Object getService(QName serviceName)
getService
in interface ServiceLocator
getService
in class BaseWrappingResourceLoader
public Object getObject(ObjectDefinition objectDefinition)
ObjectLoader
getObject
in interface ObjectLoader
getObject
in class BaseResourceLoader
protected boolean shouldWrapService(QName serviceName, Object service)
shouldWrapService
in class BaseWrappingResourceLoader
public void stop() throws Exception
stop
in interface Lifecycle
stop
in class BaseResourceLoader
Exception
protected boolean isRemoteService(QName serviceName)
protected boolean useRemoteEmailServices()
public PluginRegistry getRegistry()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.