org.opennms.netmgt.dao.jaxb
Class AbstractJaxbConfigDao<K,V>
java.lang.Object
org.opennms.netmgt.dao.jaxb.AbstractJaxbConfigDao<K,V>
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
- JdbcDataCollectionConfigDaoJaxb
public abstract class AbstractJaxbConfigDao<K,V>
- extends Object
- implements org.springframework.beans.factory.InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJaxbConfigDao
public AbstractJaxbConfigDao(Class<K> entityClass,
String description)
translateConfig
public abstract V translateConfig(K jaxbConfig)
getContainer
protected FileReloadContainer<V> getContainer()
log
protected ThreadCategory log()
loadConfig
protected V loadConfig(org.springframework.core.io.Resource resource)
createLoadedLogMessage
protected String createLoadedLogMessage(V translatedConfig,
long diffTime)
getConfigResource
public org.springframework.core.io.Resource getConfigResource()
setConfigResource
public void setConfigResource(org.springframework.core.io.Resource configResource)
getDescription
public String getDescription()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2011. All Rights Reserved.