Class SyslogNorthbounderConfigDao
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<SyslogNorthbounderConfig,SyslogNorthbounderConfig>
-
- org.opennms.netmgt.alarmd.northbounder.syslog.SyslogNorthbounderConfigDao
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class SyslogNorthbounderConfigDao extends AbstractJaxbConfigDao<SyslogNorthbounderConfig,SyslogNorthbounderConfig>
The Class SyslogNorthbounderConfigDao.- Author:
- David Hustace
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
AbstractJaxbConfigDao.JaxbReloadCallback
-
-
Constructor Summary
Constructors Constructor Description SyslogNorthbounderConfigDao()
Instantiates a new Syslog northbounder configiguration DAO.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyslogNorthbounderConfig
getConfig()
Gets the Syslog northbounder configuration.void
reload()
Reload.void
save()
Save.protected SyslogNorthbounderConfig
translateConfig(SyslogNorthbounderConfig config)
translateConfig-
Methods inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
-
-
-
-
Method Detail
-
translateConfig
protected SyslogNorthbounderConfig translateConfig(SyslogNorthbounderConfig config)
Description copied from class:AbstractJaxbConfigDao
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<SyslogNorthbounderConfig,SyslogNorthbounderConfig>
- Parameters:
config
- a K object.- Returns:
- a V object.
-
getConfig
public SyslogNorthbounderConfig getConfig()
Gets the Syslog 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.
-
-