org.kuali.rice.krad.config
Class KRADConfigurer

java.lang.Object
  extended by org.kuali.rice.core.api.lifecycle.BaseLifecycle
      extended by org.kuali.rice.core.api.lifecycle.BaseCompositeLifecycle
          extended by org.kuali.rice.core.framework.config.module.ModuleConfigurer
              extended by org.kuali.rice.krad.config.KRADConfigurer
All Implemented Interfaces:
EventListener, Configurer, Lifecycle, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.web.context.ServletContextAware

public class KRADConfigurer
extends ModuleConfigurer


Field Summary
 
Fields inherited from class org.kuali.rice.core.framework.config.module.ModuleConfigurer
LOG
 
Constructor Summary
KRADConfigurer()
           
 
Method Summary
 void addAdditonalToConfig()
           
protected  void configureDataSource()
          Used to "poke" the Data Dictionary again after the Spring Context is initialized.
 void doAdditionalContextStartedLogic()
           
 DataSource getApplicationDataSource()
           
 long getComponentPublishingDelay()
           
 List<String> getPrimarySpringFiles()
           
 DataSource getServerDataSource()
           
 boolean isComponentPublishingEnabled()
           
 boolean isIncludeKnsSpringBeans()
          Indicates whether the legacy KNS module should be included which will include the KNS spring beans file
 boolean isLoadDataDictionary()
           
 boolean isValidateDataDictionary()
           
 boolean isValidateDataDictionaryEboReferences()
           
protected  void loadDataDictionary()
          Used to "poke" the Data Dictionary again after the Spring Context is initialized.
protected  void publishDataDictionaryComponents()
           
 void setApplicationDataSource(DataSource applicationDataSource)
           
 void setIncludeKnsSpringBeans(boolean includeKnsSpringBeans)
          Setter for the include kns support indicator
 void setServerDataSource(DataSource serverDataSource)
           
 boolean shouldRenderWebInterface()
          Returns true - KNS UI should always be included.
 
Methods inherited from class org.kuali.rice.core.framework.config.module.ModuleConfigurer
addToConfig, afterPropertiesSet, destroy, doAdditionalContextStoppedLogic, doAdditionalModuleStartLogic, doAdditionalModuleStopLogic, doAdditonalConfigurerValidations, doContextStartedLogic, doContextStoppedLogic, getAdditionalSpringFiles, getDefaultConfigPackagePath, getDefaultSpringBeansPath, getModuleName, getProperties, getResourceLoadersToRegister, getRunMode, getValidRunModes, getWebModuleBaseUrl, getWebModuleConfigName, getWebModuleConfigurationFiles, hasWebInterface, initializeResourceLoaders, isExposeServicesOnBus, isIncludeUserInterfaceComponents, isSetSOAPServicesAsDefault, loadLifecycles, onApplicationEvent, setHasWebInterface, setModuleName, setProperties, setServletContext, setValidRunModes, start, stop, validateConfigurerState
 
Methods inherited from class org.kuali.rice.core.api.lifecycle.BaseLifecycle
isStarted, setStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.lifecycle.Lifecycle
isStarted
 

Constructor Detail

KRADConfigurer

public KRADConfigurer()
Method Detail

addAdditonalToConfig

public void addAdditonalToConfig()
Overrides:
addAdditonalToConfig in class ModuleConfigurer

getPrimarySpringFiles

public List<String> getPrimarySpringFiles()
Specified by:
getPrimarySpringFiles in interface Configurer
Overrides:
getPrimarySpringFiles in class ModuleConfigurer

doAdditionalContextStartedLogic

public void doAdditionalContextStartedLogic()
Overrides:
doAdditionalContextStartedLogic in class ModuleConfigurer

loadDataDictionary

protected void loadDataDictionary()
Used to "poke" the Data Dictionary again after the Spring Context is initialized. This is to allow for modules loaded with KualiModule after the KNS has already been initialized to work. Also initializes the DateTimeService


publishDataDictionaryComponents

protected void publishDataDictionaryComponents()

shouldRenderWebInterface

public boolean shouldRenderWebInterface()
Returns true - KNS UI should always be included.

Overrides:
shouldRenderWebInterface in class ModuleConfigurer
See Also:
ModuleConfigurer.shouldRenderWebInterface()

isLoadDataDictionary

public boolean isLoadDataDictionary()

isValidateDataDictionary

public boolean isValidateDataDictionary()

isValidateDataDictionaryEboReferences

public boolean isValidateDataDictionaryEboReferences()

isComponentPublishingEnabled

public boolean isComponentPublishingEnabled()

getComponentPublishingDelay

public long getComponentPublishingDelay()

configureDataSource

protected void configureDataSource()
Used to "poke" the Data Dictionary again after the Spring Context is initialized. This is to allow for modules loaded with KualiModule after the KNS has already been initialized to work. Also initializes the DateTimeService


getApplicationDataSource

public DataSource getApplicationDataSource()

getServerDataSource

public DataSource getServerDataSource()

setApplicationDataSource

public void setApplicationDataSource(DataSource applicationDataSource)

setServerDataSource

public void setServerDataSource(DataSource serverDataSource)

isIncludeKnsSpringBeans

public boolean isIncludeKnsSpringBeans()
Indicates whether the legacy KNS module should be included which will include the KNS spring beans file

Returns:
boolean true if kns should be supported, false if not

setIncludeKnsSpringBeans

public void setIncludeKnsSpringBeans(boolean includeKnsSpringBeans)
Setter for the include kns support indicator

Parameters:
includeKnsSpringBeans -


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