org.kuali.rice.edl.impl
Class EDLControllerFactory

java.lang.Object
  extended by org.kuali.rice.edl.impl.EDLControllerFactory

public class EDLControllerFactory
extends Object

Creates EDL controllers. Contains a cache of parsed EDL configurations. The parsed config is a definition name related to a Map containing config element and their associated class.

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

Field Summary
private static String CONFIG_CACHE_GROUP_NAME
           
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
EDLControllerFactory()
           
 
Method Summary
private static Map cloneConfigMap(Map configMap, Document defaultDom)
           
static EDLController createEDLController(EDocLiteAssociation edlAssociation, EDLGlobalConfig edlGlobalConfig)
           
static EDLController createEDLController(EDocLiteAssociation edlAssociation, EDLGlobalConfig edlGlobalConfig, DocumentRouteHeaderValue document)
           
protected static Map fetchConfigFromCache(String definition)
           
static void flushDefinitionCache()
           
static void flushDefinitionFromConfigCache(String definition)
           
private static String getConfigCacheKey(String definition)
           
private static Document getDefaultDOM(EDocLiteAssociation edlAssociation)
           
private static EDocLiteService getEDLService()
           
private static void loadConfigProcessors(EDLController edlController, EDLGlobalConfig edlGlobalConfig)
           
private static void loadPostProcessor(EDLController edlController, EDLGlobalConfig edlGlobalConfig)
           
private static void loadPreProcessors(EDLController edlController, EDLGlobalConfig edlGlobalConfig)
           
private static void loadStateComponents(EDLController edlController, EDLGlobalConfig edlGlobalConfig)
           
private static void loadStyle(EDLController edlController)
           
private static void putConfigInCache(String definition, Map configProcessorMappings)
           
 
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

CONFIG_CACHE_GROUP_NAME

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

EDLControllerFactory

public EDLControllerFactory()
Method Detail

createEDLController

public static EDLController createEDLController(EDocLiteAssociation edlAssociation,
                                                EDLGlobalConfig edlGlobalConfig)

createEDLController

public static EDLController createEDLController(EDocLiteAssociation edlAssociation,
                                                EDLGlobalConfig edlGlobalConfig,
                                                DocumentRouteHeaderValue document)

loadStyle

private static void loadStyle(EDLController edlController)
                       throws Exception
Throws:
Exception

loadPreProcessors

private static void loadPreProcessors(EDLController edlController,
                                      EDLGlobalConfig edlGlobalConfig)

loadPostProcessor

private static void loadPostProcessor(EDLController edlController,
                                      EDLGlobalConfig edlGlobalConfig)

loadStateComponents

private static void loadStateComponents(EDLController edlController,
                                        EDLGlobalConfig edlGlobalConfig)

loadConfigProcessors

private static void loadConfigProcessors(EDLController edlController,
                                         EDLGlobalConfig edlGlobalConfig)
                                  throws Exception
Throws:
Exception

fetchConfigFromCache

protected static Map fetchConfigFromCache(String definition)

putConfigInCache

private static void putConfigInCache(String definition,
                                     Map configProcessorMappings)

getConfigCacheKey

private static String getConfigCacheKey(String definition)

cloneConfigMap

private static Map cloneConfigMap(Map configMap,
                                  Document defaultDom)

getEDLService

private static EDocLiteService getEDLService()

getDefaultDOM

private static Document getDefaultDOM(EDocLiteAssociation edlAssociation)
                               throws Exception
Throws:
Exception

flushDefinitionFromConfigCache

public static void flushDefinitionFromConfigCache(String definition)

flushDefinitionCache

public static void flushDefinitionCache()


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