Package org.opennms.netmgt.dao.jaxb
Class DefaultTl1ConfigurationDao
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<Tl1dConfiguration,Tl1dConfiguration>
-
- org.opennms.netmgt.dao.jaxb.DefaultTl1ConfigurationDao
-
- All Implemented Interfaces:
Tl1ConfigurationDao
,org.springframework.beans.factory.InitializingBean
public class DefaultTl1ConfigurationDao extends AbstractJaxbConfigDao<Tl1dConfiguration,Tl1dConfiguration> implements Tl1ConfigurationDao
DefaultTl1ConfigurationDao- Version:
- $Id: $
- Author:
- brozow
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
AbstractJaxbConfigDao.JaxbReloadCallback
-
-
Constructor Summary
Constructors Constructor Description DefaultTl1ConfigurationDao()
Constructor for DefaultTl1ConfigurationDao.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Tl1Element>
getElements()
getElementsTl1dConfiguration
translateConfig(Tl1dConfiguration config)
translateConfigvoid
update()
update-
Methods inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
-
-
-
-
Method Detail
-
getElements
public java.util.List<Tl1Element> getElements()
getElements
- Specified by:
getElements
in interfaceTl1ConfigurationDao
- Returns:
- a
List
object.
-
update
public void update() throws org.springframework.dao.DataAccessResourceFailureException
update
- Specified by:
update
in interfaceTl1ConfigurationDao
- Throws:
org.springframework.dao.DataAccessResourceFailureException
- if any.
-
translateConfig
public Tl1dConfiguration translateConfig(Tl1dConfiguration config)
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<Tl1dConfiguration,Tl1dConfiguration>
- Parameters:
config
- a K object.- Returns:
- a V object.
-
-