public class FactoryBasedSnmpConfigDao extends Object implements SnmpConfigDao, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
FactoryBasedSnmpConfigDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
void |
define(SnmpEventInfo info) |
SnmpAgentConfig |
getAgentConfig(InetAddress agentAddress)
getAgentConfig
|
SnmpConfiguration |
getDefaults()
getDefaults
|
void |
saveAsDefaults(SnmpConfiguration newDefaults)
saveAsDefaults
|
void |
saveOrUpdate(SnmpAgentConfig newConfig)
saveOrUpdate
|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.public SnmpAgentConfig getAgentConfig(InetAddress agentAddress)
getAgentConfig
getAgentConfig in interface SnmpAgentConfigFactorygetAgentConfig in interface SnmpConfigDaoagentAddress - a InetAddress object.SnmpAgentConfig object.public SnmpConfiguration getDefaults()
getDefaults
getDefaults in interface SnmpConfigDaoSnmpConfiguration object.public void saveAsDefaults(SnmpConfiguration newDefaults)
saveAsDefaults
saveAsDefaults in interface SnmpConfigDaonewDefaults - a SnmpConfiguration object.public void saveOrUpdate(SnmpAgentConfig newConfig)
saveOrUpdate
saveOrUpdate in interface SnmpConfigDaonewConfig - a SnmpAgentConfig object.public void define(SnmpEventInfo info)
Copyright © 2015. All rights reserved.