Class BSFNorthbounderConfigDao
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<BSFNorthbounderConfig,BSFNorthbounderConfig>
-
- org.opennms.netmgt.alarmd.northbounder.bsf.BSFNorthbounderConfigDao
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class BSFNorthbounderConfigDao extends AbstractJaxbConfigDao<BSFNorthbounderConfig,BSFNorthbounderConfig>
The Class BSFNorthbounderConfigDao.- Author:
- Alejandro Galue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
AbstractJaxbConfigDao.JaxbReloadCallback
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
LOG
The Constant LOG.
-
Constructor Summary
Constructors Constructor Description BSFNorthbounderConfigDao()
Instantiates a new BSF northbounder configuration DAO.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BSFNorthbounderConfig
getConfig()
Gets the BSF northbounder configuration.void
reload()
Reload.void
save()
Save.protected BSFNorthbounderConfig
translateConfig(BSFNorthbounderConfig config)
translateConfig-
Methods inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
-
-
-
-
Method Detail
-
translateConfig
protected BSFNorthbounderConfig translateConfig(BSFNorthbounderConfig config)
Description copied from class:AbstractJaxbConfigDao
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<BSFNorthbounderConfig,BSFNorthbounderConfig>
- Parameters:
config
- a K object.- Returns:
- a V object.
-
getConfig
public BSFNorthbounderConfig getConfig()
Gets the BSF northbounder configuration.- Returns:
- the configuration object
-
reload
public void reload()
Reload.
-
save
public void save() throws java.io.IOException
Save.- Throws:
java.io.IOException
- Signals that an I/O exception has occurred.
-
-