Class KRADConfigurer

java.lang.Object
org.kuali.rice.core.api.lifecycle.BaseLifecycle
org.kuali.rice.core.api.lifecycle.BaseCompositeLifecycle
org.kuali.rice.core.framework.config.module.ModuleConfigurer
org.kuali.rice.krad.config.KRADConfigurer
All Implemented Interfaces:
EventListener, org.kuali.rice.core.api.config.module.Configurer, org.kuali.rice.core.api.lifecycle.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.context.event.SmartApplicationListener, org.springframework.core.Ordered, org.springframework.web.context.ServletContextAware

public class KRADConfigurer extends org.kuali.rice.core.framework.config.module.ModuleConfigurer implements org.springframework.context.event.SmartApplicationListener
Rice module configurer for KRAD
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Summary

    Fields inherited from class org.kuali.rice.core.framework.config.module.ModuleConfigurer

    LOG

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    Used to "poke" the Data Dictionary again after the Spring Context is initialized.
     
    int
     
     
    boolean
     
    boolean
    Indicates whether the legacy KNS module should be included which will include the KNS spring beans file
    boolean
     
    boolean
     
    boolean
     
    protected void
    Used to "poke" the Data Dictionary again after the Spring Context is initialized.
    void
    onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent)
     
    void
    setApplicationDataSource(DataSource applicationDataSource)
     
    void
    setIncludeKnsSpringBeans(boolean includeKnsSpringBeans)
    Setter for the include kns support indicator
    boolean
    Returns true - KNS UI should always be included.
    boolean
    supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> aClass)
     
    boolean
     

    Methods inherited from class org.kuali.rice.core.framework.config.module.ModuleConfigurer

    addToConfig, afterPropertiesSet, createResourceLoader, destroy, doAdditionalModuleStartLogic, doAdditionalModuleStopLogic, doAdditonalConfigurerValidations, getAdditionalSpringFiles, getCurrentContextConfigurers, getDefaultConfigPackagePath, getDefaultSpringBeansPath, getModuleName, getProperties, getResourceLoadersToRegister, getRunMode, getServletContext, getValidRunModes, getWebModuleConfiguration, initializeResourceLoaders, isExposeServicesOnBus, loadLifecycles, loadWebModule, parseFileList, 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

    Methods inherited from interface org.springframework.context.event.SmartApplicationListener

    getListenerId
  • Constructor Details

    • KRADConfigurer

      public KRADConfigurer()
  • Method Details

    • addAdditonalToConfig

      public void addAdditonalToConfig()
      Overrides:
      addAdditonalToConfig in class org.kuali.rice.core.framework.config.module.ModuleConfigurer
    • getPrimarySpringFiles

      public List<String> getPrimarySpringFiles()
      Specified by:
      getPrimarySpringFiles in interface org.kuali.rice.core.api.config.module.Configurer
      Overrides:
      getPrimarySpringFiles in class org.kuali.rice.core.framework.config.module.ModuleConfigurer
    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
    • supportsEventType

      public boolean supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> aClass)
      Specified by:
      supportsEventType in interface org.springframework.context.event.SmartApplicationListener
    • supportsSourceType

      public boolean supportsSourceType(Class<?> aClass)
      Specified by:
      supportsSourceType in interface org.springframework.context.event.SmartApplicationListener
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
      Specified by:
      getOrder in interface org.springframework.context.event.SmartApplicationListener
    • 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
    • hasWebInterface

      public boolean hasWebInterface()
      Overrides:
      hasWebInterface in class org.kuali.rice.core.framework.config.module.ModuleConfigurer
    • shouldRenderWebInterface

      public boolean shouldRenderWebInterface()
      Returns true - KNS UI should always be included.
      Overrides:
      shouldRenderWebInterface in class org.kuali.rice.core.framework.config.module.ModuleConfigurer
      See Also:
      • ModuleConfigurer.shouldRenderWebInterface()
    • isLoadDataDictionary

      public boolean isLoadDataDictionary()
    • isValidateDataDictionary

      public boolean isValidateDataDictionary()
    • isInterfaceBasedOverridesDataDictionary

      public boolean isInterfaceBasedOverridesDataDictionary()
    • 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()
    • setApplicationDataSource

      public void setApplicationDataSource(DataSource applicationDataSource)
    • 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 -