org.kuali.rice.core.resourceloader
Class ParentChildResourceLoader

java.lang.Object
  extended by org.kuali.rice.core.lifecycle.BaseLifecycle
      extended by org.kuali.rice.core.resourceloader.ResourceLoaderContainer
          extended by org.kuali.rice.core.resourceloader.BaseResourceLoader
              extended by org.kuali.rice.core.resourceloader.ParentChildResourceLoader
All Implemented Interfaces:
Lifecycle, ObjectLoader, ResourceLoader, ServiceLocator

public class ParentChildResourceLoader
extends BaseResourceLoader

This is a description of what this class does - ewestfal don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  ResourceLoader child
           
private  ResourceLoader parent
           
 
Fields inherited from class org.kuali.rice.core.resourceloader.BaseResourceLoader
LOG
 
Fields inherited from interface org.kuali.rice.core.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
ParentChildResourceLoader(ResourceLoader parent, ResourceLoader child)
           
 
Method Summary
 void addResourceLoader(ResourceLoader resourceLoader)
           
 void addResourceLoaderFirst(ResourceLoader resourceLoader)
           
 Object getObject(ObjectDefinition definition)
          Constructs an instance of the Object using the given ObjectDefinition classname.
 ResourceLoader getResourceLoader(QName name)
           
 List<QName> getResourceLoaderNames()
           
 List<ResourceLoader> getResourceLoaders()
           
 Object getService(QName qname)
          Fetches the service with the given name.
 void removeResourceLoader(QName name)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.kuali.rice.core.resourceloader.BaseResourceLoader
getClassLoader, getContents, getServiceLocator, isPostProcessContainer, postProcessObject, postProcessService, setClassLoader, setPostProcessContainer, wrap
 
Methods inherited from class org.kuali.rice.core.resourceloader.ResourceLoaderContainer
containsResourceLoader, getName, removeAllResourceLoaders, setName, toString
 
Methods inherited from class org.kuali.rice.core.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.resourceloader.ResourceLoader
getName, setName
 
Methods inherited from interface org.kuali.rice.core.lifecycle.Lifecycle
isStarted
 

Field Detail

parent

private ResourceLoader parent

child

private ResourceLoader child
Constructor Detail

ParentChildResourceLoader

public ParentChildResourceLoader(ResourceLoader parent,
                                 ResourceLoader child)
Method Detail

getObject

public Object getObject(ObjectDefinition definition)
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

getService

public Object getService(QName qname)
Description copied from interface: ServiceLocator
Fetches the service with the given name.

Specified by:
getService in interface ServiceLocator
Overrides:
getService in class BaseResourceLoader

start

public void start()
           throws Exception
Specified by:
start in interface Lifecycle
Overrides:
start in class BaseResourceLoader
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Lifecycle
Overrides:
stop in class BaseResourceLoader
Throws:
Exception

addResourceLoader

public void addResourceLoader(ResourceLoader resourceLoader)
Specified by:
addResourceLoader in interface ResourceLoader
Overrides:
addResourceLoader in class ResourceLoaderContainer

addResourceLoaderFirst

public void addResourceLoaderFirst(ResourceLoader resourceLoader)
Specified by:
addResourceLoaderFirst in interface ResourceLoader
Overrides:
addResourceLoaderFirst in class ResourceLoaderContainer

getResourceLoader

public ResourceLoader getResourceLoader(QName name)
Specified by:
getResourceLoader in interface ResourceLoader
Overrides:
getResourceLoader in class ResourceLoaderContainer

getResourceLoaderNames

public List<QName> getResourceLoaderNames()
Specified by:
getResourceLoaderNames in interface ResourceLoader
Overrides:
getResourceLoaderNames in class ResourceLoaderContainer

getResourceLoaders

public List<ResourceLoader> getResourceLoaders()
Specified by:
getResourceLoaders in interface ResourceLoader
Overrides:
getResourceLoaders in class ResourceLoaderContainer

removeResourceLoader

public void removeResourceLoader(QName name)
Specified by:
removeResourceLoader in interface ResourceLoader
Overrides:
removeResourceLoader in class ResourceLoaderContainer


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.