Package org.opennms.netmgt.config
Class DefaultSnmpHwInventoryAdapterConfigDao
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<HwInventoryAdapterConfiguration,HwInventoryAdapterConfiguration>
-
- org.opennms.netmgt.config.DefaultSnmpHwInventoryAdapterConfigDao
-
- All Implemented Interfaces:
SnmpHwInventoryAdapterConfigDao
,org.springframework.beans.factory.InitializingBean
public class DefaultSnmpHwInventoryAdapterConfigDao extends AbstractJaxbConfigDao<HwInventoryAdapterConfiguration,HwInventoryAdapterConfiguration> implements SnmpHwInventoryAdapterConfigDao
The Class DefaultSnmpHwInventoryAdapterConfigDao.- Author:
- Alejandro Galue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
AbstractJaxbConfigDao.JaxbReloadCallback
-
-
Constructor Summary
Constructors Constructor Description DefaultSnmpHwInventoryAdapterConfigDao()
The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HwInventoryAdapterConfiguration
getConfiguration()
Gets the configuration.void
reload()
Reload.protected HwInventoryAdapterConfiguration
translateConfig(HwInventoryAdapterConfiguration config)
translateConfig-
Methods inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
-
-
-
-
Method Detail
-
getConfiguration
public HwInventoryAdapterConfiguration getConfiguration()
Description copied from interface:SnmpHwInventoryAdapterConfigDao
Gets the configuration.- Specified by:
getConfiguration
in interfaceSnmpHwInventoryAdapterConfigDao
- Returns:
- the configuration
-
reload
public void reload()
Description copied from interface:SnmpHwInventoryAdapterConfigDao
Reload.- Specified by:
reload
in interfaceSnmpHwInventoryAdapterConfigDao
-
translateConfig
protected HwInventoryAdapterConfiguration translateConfig(HwInventoryAdapterConfiguration config)
Description copied from class:AbstractJaxbConfigDao
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<HwInventoryAdapterConfiguration,HwInventoryAdapterConfiguration>
- Parameters:
config
- a K object.- Returns:
- a V object.
-
-