Package org.opennms.netmgt.dao.jaxb
Class JdbcDataCollectionConfigDaoJaxb
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<JdbcDataCollectionConfig,JdbcDataCollectionConfig>
-
- org.opennms.netmgt.dao.jaxb.JdbcDataCollectionConfigDaoJaxb
-
- All Implemented Interfaces:
JdbcDataCollectionConfigDao
,org.springframework.beans.factory.InitializingBean
public class JdbcDataCollectionConfigDaoJaxb extends AbstractJaxbConfigDao<JdbcDataCollectionConfig,JdbcDataCollectionConfig> implements JdbcDataCollectionConfigDao
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
AbstractJaxbConfigDao.JaxbReloadCallback
-
-
Constructor Summary
Constructors Constructor Description JdbcDataCollectionConfigDaoJaxb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcDataCollectionConfig
getConfig()
JdbcDataCollection
getDataCollectionByIndex(int idx)
JdbcDataCollection
getDataCollectionByName(java.lang.String name)
protected JdbcDataCollectionConfig
translateConfig(JdbcDataCollectionConfig jaxbConfig)
translateConfig-
Methods inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
-
-
-
-
Method Detail
-
getDataCollectionByName
public JdbcDataCollection getDataCollectionByName(java.lang.String name)
- Specified by:
getDataCollectionByName
in interfaceJdbcDataCollectionConfigDao
-
getDataCollectionByIndex
public JdbcDataCollection getDataCollectionByIndex(int idx)
- Specified by:
getDataCollectionByIndex
in interfaceJdbcDataCollectionConfigDao
-
getConfig
public JdbcDataCollectionConfig getConfig()
- Specified by:
getConfig
in interfaceJdbcDataCollectionConfigDao
-
translateConfig
protected JdbcDataCollectionConfig translateConfig(JdbcDataCollectionConfig jaxbConfig)
Description copied from class:AbstractJaxbConfigDao
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<JdbcDataCollectionConfig,JdbcDataCollectionConfig>
- Parameters:
jaxbConfig
- a K object.- Returns:
- a V object.
-
-