org.riotfamily.riot.editor.xml
Class XmlEditorRepository
java.lang.Object
org.riotfamily.riot.editor.EditorRepository
org.riotfamily.riot.editor.xml.XmlEditorRepository
- All Implemented Interfaces:
- ConfigurableBean, ConfigurationEventListener, RiotRuntimeAware, InitializingBean, ApplicationContextAware
public class XmlEditorRepository
- extends EditorRepository
- implements ApplicationContextAware, InitializingBean, ConfigurableBean, ConfigurationEventListener
Methods inherited from class org.riotfamily.riot.editor.EditorRepository |
addEditorDefinition, getEditorDefinitions, getFormDefinition, getFormRepository, getGroupDefinition, getListDefinition, getListRepository, getRiotRuntime, getRiotServletPrefix, getRootGroupDefinition, setFormRepository, setListRepository, setRiotRuntime, setRootGroupDefinition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlEditorRepository
public XmlEditorRepository()
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interface ApplicationContextAware
setConfig
public void setConfig(Resource config)
setConfigLocations
public void setConfigLocations(Resource[] configLocations)
setPriorityConfig
public void setPriorityConfig(Resource config)
setPriorityConfigLocations
public void setPriorityConfigLocations(Resource[] configLocations)
addListener
public void addListener(ConfigurationEventListener listener)
- Description copied from class:
EditorRepository
- Subclasses may overwrite this method to allow the registration of
ConfigurationEventListeners
.
The default implementation does nothing.
- Overrides:
addListener
in class EditorRepository
- Since:
- 6.5
isReloadable
public boolean isReloadable()
- Specified by:
isReloadable
in interface ConfigurableBean
setReloadable
public void setReloadable(boolean reloadable)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
getEditorDefinition
public EditorDefinition getEditorDefinition(String editorId)
- Overrides:
getEditorDefinition
in class EditorRepository
configure
public void configure()
- Specified by:
configure
in interface ConfigurableBean
beanReconfigured
public void beanReconfigured(ConfigurableBean bean)
- Specified by:
beanReconfigured
in interface ConfigurationEventListener