Class SnmpTrapNorthbounderConfigDao
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<SnmpTrapNorthbounderConfig,SnmpTrapNorthbounderConfig>
-
- org.opennms.netmgt.alarmd.northbounder.snmptrap.SnmpTrapNorthbounderConfigDao
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class SnmpTrapNorthbounderConfigDao extends AbstractJaxbConfigDao<SnmpTrapNorthbounderConfig,SnmpTrapNorthbounderConfig>
The Class SnmpTrapNorthbounderConfigDao.- 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 SnmpTrapNorthbounderConfigDao()
Instantiates a new SNMP Trap northbounder configuration DAO.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpTrapNorthbounderConfig
getConfig()
Gets the SNMP Trap northbounder configuration.void
reload()
Reload.void
save()
Save.protected SnmpTrapNorthbounderConfig
translateConfig(SnmpTrapNorthbounderConfig config)
translateConfig-
Methods inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
-
-
-
-
Method Detail
-
translateConfig
protected SnmpTrapNorthbounderConfig translateConfig(SnmpTrapNorthbounderConfig config)
Description copied from class:AbstractJaxbConfigDao
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<SnmpTrapNorthbounderConfig,SnmpTrapNorthbounderConfig>
- Parameters:
config
- a K object.- Returns:
- a V object.
-
getConfig
public SnmpTrapNorthbounderConfig getConfig()
Gets the SNMP Trap northbounder configuration.- Returns:
- the configuration object
-
reload
public void reload()
Reload.
-
save
public void save() throws IOException
Save.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
-