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