public abstract class AbstractWritableJaxbConfigDao<K,V> extends AbstractJaxbConfigDao<K,V>
AbstractJaxbConfigDao.JaxbReloadCallback| Constructor and Description | 
|---|
AbstractWritableJaxbConfigDao(Class<K> entityClass,
                             String description)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected V | 
getObject()
getConfig 
 | 
Lock | 
getReadLock()  | 
Lock | 
getWriteLock()  | 
void | 
saveCurrent()
Saves the current in-memory configuration to disk and reloads 
 | 
void | 
update()
 update 
 | 
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval, translateConfigpublic Lock getReadLock()
public Lock getWriteLock()
protected V getObject()
getConfig
public void saveCurrent()
                 throws IOException
IOException - if any.public void update()
update
IOException - if any.Copyright © 2020. All rights reserved.