org.kuali.rice.core.api.resourceloader
Class GlobalResourceLoader
java.lang.Object
org.kuali.rice.core.api.resourceloader.GlobalResourceLoader
public class GlobalResourceLoader
- extends Object
Wrapper on all the Resource loaders. This is what programmers typically use to get in the resource loading
framework.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalResourceLoader
public GlobalResourceLoader()
getResourceLoader
public static ResourceLoader getResourceLoader()
getResourceLoader
public static ResourceLoader getResourceLoader(ClassLoader classloader)
start
public static void start()
throws Exception
- Throws:
Exception
addResourceLoader
public static void addResourceLoader(ResourceLoader resourceLoader)
addResourceLoaderFirst
public static void addResourceLoaderFirst(ResourceLoader resourceLoader)
initialize
protected static void initialize()
getResourceLoader
public static ResourceLoader getResourceLoader(QName name)
stop
public static void stop()
throws Exception
- Stop the resource loader for the current context classloader. Don't stop or clear them all
because the stop was issued from the context of a single classloader.
- Throws:
Exception
getService
public static <T> T getService(QName serviceName)
getService
public static <T> T getService(String localServiceName)
getObject
public static <T> T getObject(ObjectDefinition objectDefinition)
isInitialized
public static boolean isInitialized()
logContents
public static void logContents()
isInitializing
public static boolean isInitializing()
setInitializing
public static void setInitializing(boolean initializing)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.