org.kuali.rice.kew.resourceloader
Class CoreResourceLoader
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.resourceloader.CoreResourceLoader
- All Implemented Interfaces:
- Lifecycle, ObjectLoader, ResourceLoader, ServiceLocator
public class CoreResourceLoader
- extends BaseWrappingResourceLoader
A resource loader which is responsible for loading resources from the Workflow ConfigContext.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer |
addResourceLoader, addResourceLoaderFirst, containsResourceLoader, getName, getResourceLoader, getResourceLoaderNames, getResourceLoaders, removeAllResourceLoaders, removeResourceLoader, setName, toString |
NAME
public static final QName NAME
CoreResourceLoader
public CoreResourceLoader(ServiceLocator serviceLocator,
PluginRegistry registry)
getService
public 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.
- Specified by:
getService
in interface ServiceLocator
- Overrides:
getService
in class BaseWrappingResourceLoader
getObject
public Object getObject(ObjectDefinition objectDefinition)
- Description copied from interface:
ObjectLoader
- Constructs an instance of the Object using the given ObjectDefinition classname.
- Specified by:
getObject
in interface ObjectLoader
- Overrides:
getObject
in class BaseResourceLoader
shouldWrapService
protected boolean shouldWrapService(QName serviceName,
Object service)
- Overrides:
shouldWrapService
in class BaseWrappingResourceLoader
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Lifecycle
- Overrides:
stop
in class BaseResourceLoader
- Throws:
Exception
isRemoteService
protected boolean isRemoteService(QName serviceName)
- Returns true if the given service name is one which should be loaded from the service bus. This is used
primarily for embedded clients that want to reference the workgroup and user services on a standalone
server.
useRemoteEmailServices
protected boolean useRemoteEmailServices()
getRegistry
public PluginRegistry getRegistry()
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.