org.kuali.rice.krad.config
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, 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
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class org.kuali.rice.core.framework.config.module.ModuleConfigurer |
addToConfig, afterPropertiesSet, destroy, doAdditionalModuleStartLogic, doAdditionalModuleStopLogic, doAdditonalConfigurerValidations, getAdditionalSpringFiles, getCurrentContextConfigurers, getDefaultConfigPackagePath, getDefaultSpringBeansPath, getModuleName, getProperties, getResourceLoadersToRegister, getRunMode, getValidRunModes, getWebModuleConfiguration, initializeResourceLoaders, isExposeServicesOnBus, loadLifecycles, loadWebModule, setModuleName, setProperties, setServletContext, setValidRunModes, start, stop, validateConfigurerState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KRADConfigurer
public KRADConfigurer()
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
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()
hasWebInterface
public boolean hasWebInterface()
- Description copied from class:
ModuleConfigurer
- Indicates whether or not this module has a web interface module. Default implementation returns false, but
subclasses can override to return true if they have a web module that can be loaded.
- Overrides:
hasWebInterface
in class ModuleConfigurer
- Returns:
- true if this module has a web interface, false otherwise
shouldRenderWebInterface
public boolean shouldRenderWebInterface()
- Returns true - KNS UI should always be included.
- Overrides:
shouldRenderWebInterface
in class ModuleConfigurer
- Returns:
- true if the web interface for this module should be rendered, false otherwise
- 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()
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
-
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.