org.kuali.rice.ksb.messaging.resourceloader
Class KSBResourceLoaderFactory

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.resourceloader.KSBResourceLoaderFactory

public class KSBResourceLoaderFactory
extends Object

Creates KSBs root resource loader with all the correct children attached ready for starting. Uses config object to store QNames so everything is good with the current context classloader. Can grab any KSB specific resource loader from the resource loading stack.

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

Field Summary
private static String KSB_REMOTE_RESOURCE_LOADER_LOCAL_NAME
           
private static String KSB_ROOT_RESOURCE_LOACER_NAME
           
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
KSBResourceLoaderFactory()
           
 
Method Summary
static ResourceLoader createRootKSBRemoteResourceLoader()
           
static ResourceLoader createThinClientKSBResourceLoader()
           
static QName getRemoteResourceLoaderName()
           
static RemoteResourceServiceLocator getRemoteResourceLocator()
           
static BaseResourceLoader getRootResourceLoader()
           
static QName getRootResourceLoaderName()
           
private static void initialize()
           
static void setRemoteResourceLoaderName(QName remoteResourceLoaderName)
           
static void setRootResourceLoaderName(QName name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

KSB_ROOT_RESOURCE_LOACER_NAME

private static final String KSB_ROOT_RESOURCE_LOACER_NAME
See Also:
Constant Field Values

KSB_REMOTE_RESOURCE_LOADER_LOCAL_NAME

private static final String KSB_REMOTE_RESOURCE_LOADER_LOCAL_NAME
See Also:
Constant Field Values
Constructor Detail

KSBResourceLoaderFactory

public KSBResourceLoaderFactory()
Method Detail

initialize

private static void initialize()

createRootKSBRemoteResourceLoader

public static ResourceLoader createRootKSBRemoteResourceLoader()

createThinClientKSBResourceLoader

public static ResourceLoader createThinClientKSBResourceLoader()

getRootResourceLoader

public static BaseResourceLoader getRootResourceLoader()

getRemoteResourceLocator

public static RemoteResourceServiceLocator getRemoteResourceLocator()

getRootResourceLoaderName

public static QName getRootResourceLoaderName()

setRootResourceLoaderName

public static void setRootResourceLoaderName(QName name)

getRemoteResourceLoaderName

public static QName getRemoteResourceLoaderName()

setRemoteResourceLoaderName

public static void setRemoteResourceLoaderName(QName remoteResourceLoaderName)


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