public class ReloadingDataDictionary extends DataDictionary implements no.geosoft.cc.io.FileListener, URLMonitor.URLContentChangedListener, org.springframework.context.ApplicationContextAware
To use modify the "dataDictionaryService" spring definition (KRADSpringBeans.xml) and change the constructor arg bean class from "org.kuali.rice.krad.datadictionary.DataDictionary" to "ReloadingDataDictionary"
NOTE: For Development Purposes Only!
beanValidationFiles, ddBeans, ddIndex, ddMapper, legacyDataAdapter, moduleDictionaryFiles, moduleLoadOrder, timer, uifIndex, validateEBOs, xmlReader
Constructor and Description |
---|
ReloadingDataDictionary() |
Modifier and Type | Method and Description |
---|---|
void |
fileChanged(File file)
Call back when a dictionary file is changed.
|
void |
parseDataDictionaryConfigurationFiles(boolean allowConcurrentValidation)
After dictionary has been loaded, determine the source files and add them
to the monitor
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
urlContentChanged(URL url) |
addConfigFileLocation, addModuleDictionaryFile, buildReadDescriptor, buildSimpleReadDescriptor, containsDictionaryBean, generateMissingInquiryDefinitions, generateMissingLookupDefinitions, getAllInactivationBlockingMetadatas, getAttributeClass, getBeanNamesForNamespace, getBusinessObjectClassNames, getBusinessObjectEntries, getBusinessObjectEntry, getBusinessObjectEntryForConcreteClass, getCollectionElementClass, getDataObjectEntries, getDataObjectEntry, getDictionaryBean, getDictionaryBeanProperty, getDictionaryObjectEntry, getDictionaryPrototype, getDocumentEntries, getDocumentEntry, getFileResource, getImmutableViewById, getLegacyDataAdapter, getMaintenanceDocumentEntryForBusinessObjectClass, getModuleDictionaryFiles, getModuleLoadOrder, getNamespaceForBeanDefinition, getViewById, getViewByTypeIndex, getViewIdByTypeIndex, getViewPropertiesById, getViewPropertiesByType, getViewsForType, indexSource, indexSource, isCollectionPropertyOf, isPropertyOf, loadDictionaryBeans, performBeanOverrides, performDictionaryPostProcessing, produceErrorReport, setDataDictionaryMapper, setModuleDictionaryFiles, setModuleLoadOrder, setupProcessor, validateDD, validateDD, viewByTypeExist
public ReloadingDataDictionary()
public void parseDataDictionaryConfigurationFiles(boolean allowConcurrentValidation)
parseDataDictionaryConfigurationFiles
in class DataDictionary
allowConcurrentValidation
- - indicates whether the indexing should occur on a different thread
or the same threadDataDictionary.parseDataDictionaryConfigurationFiles(boolean)
public void fileChanged(File file)
fileChanged
in interface no.geosoft.cc.io.FileListener
FileListener.fileChanged(java.io.File)
public void urlContentChanged(URL url)
urlContentChanged
in interface URLMonitor.URLContentChangedListener
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.