org.opennms.netmgt.dao
Class FactoryBasedSnmpConfigDao
java.lang.Object
org.opennms.netmgt.dao.FactoryBasedSnmpConfigDao
- All Implemented Interfaces:
- SnmpAgentConfigFactory, SnmpConfigDao, org.springframework.beans.factory.InitializingBean
public class FactoryBasedSnmpConfigDao
- extends Object
- implements SnmpConfigDao, org.springframework.beans.factory.InitializingBean
DefaultSnmpConfigDao
- Author:
- brozow
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryBasedSnmpConfigDao
public FactoryBasedSnmpConfigDao()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getAgentConfig
public org.opennms.netmgt.snmp.SnmpAgentConfig getAgentConfig(InetAddress agentAddress)
- Specified by:
getAgentConfig in interface SnmpAgentConfigFactory- Specified by:
getAgentConfig in interface SnmpConfigDao
getDefaults
public org.opennms.netmgt.snmp.SnmpConfiguration getDefaults()
- Specified by:
getDefaults in interface SnmpConfigDao
saveAsDefaults
public void saveAsDefaults(org.opennms.netmgt.snmp.SnmpConfiguration newDefaults)
- Specified by:
saveAsDefaults in interface SnmpConfigDao
saveOrUpdate
public void saveOrUpdate(org.opennms.netmgt.snmp.SnmpAgentConfig newConfig)
- Specified by:
saveOrUpdate in interface SnmpConfigDao
Copyright © 2009. All Rights Reserved.