org.kuali.rice.core.api.resourceloader
Class GlobalResourceLoader

java.lang.Object
  extended by 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)

Constructor Summary
GlobalResourceLoader()
           
 
Method Summary
static void addResourceLoader(ResourceLoader resourceLoader)
           
static void addResourceLoaderFirst(ResourceLoader resourceLoader)
           
static
<T> T
getObject(ObjectDefinition objectDefinition)
           
static ResourceLoader getResourceLoader()
           
static ResourceLoader getResourceLoader(ClassLoader classloader)
           
static ResourceLoader getResourceLoader(QName name)
           
static
<T> T
getService(QName serviceName)
           
static
<T> T
getService(String localServiceName)
           
protected static void initialize()
           
static boolean isInitialized()
           
static boolean isInitializing()
           
static void logAllContents()
           
static void logContents()
           
static void setInitializing(boolean initializing)
           
static void start()
           
static void stop()
          Stop the resource loader for the current context classloader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalResourceLoader

public GlobalResourceLoader()
Method Detail

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()

logAllContents

public static void logAllContents()

isInitializing

public static boolean isInitializing()

setInitializing

public static void setInitializing(boolean initializing)


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