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!
configFileLocations, ddBeans, ddIndex, ddMapper, persistenceStructureService, uifIndex, 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, buildReadDescriptor, buildSimpleReadDescriptor, containsDictionaryObject, getAllInactivationBlockingMetadatas, getAttributeClass, getBusinessObjectClassNames, getBusinessObjectEntries, getBusinessObjectEntry, getBusinessObjectEntryForConcreteClass, getCollectionElementClass, getConfigFileLocations, getDataObjectEntry, getDictionaryObject, getDictionaryObjectEntry, getDocumentEntries, getDocumentEntry, getFileResource, getMaintenanceDocumentEntryForBusinessObjectClass, getPersistenceStructureService, getViewById, getViewByTypeIndex, getViewPropertiesById, getViewPropertiesByType, getViewsForType, isCollectionPropertyOf, isPropertyOf, performBeanOverrides, setConfigFileLocations, setDataDictionaryMapper, validateDD, validateDD, viewByTypeExist
public ReloadingDataDictionary()
public void parseDataDictionaryConfigurationFiles(boolean allowConcurrentValidation)
parseDataDictionaryConfigurationFiles
in class DataDictionary
DataDictionary.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.