Class 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.context.event.SmartApplicationListener, org.springframework.core.Ordered, org.springframework.web.context.ServletContextAware

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

    • KRADConfigurer

      public KRADConfigurer()
  • Method Details

    • 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
    • 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 ModuleConfigurer
    • shouldRenderWebInterface

      public boolean shouldRenderWebInterface()
      Returns true - KNS UI should always be included.
      Overrides:
      shouldRenderWebInterface in class ModuleConfigurer
      See Also:
    • 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 -