Package org.opennms.netmgt.provision
Class SnmpMetadataProvisioningAdapter
- java.lang.Object
-
- org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter
-
- org.opennms.netmgt.provision.SimplerQueuedProvisioningAdapter
-
- org.opennms.netmgt.provision.SnmpMetadataProvisioningAdapter
-
- All Implemented Interfaces:
ProvisioningAdapter
,org.springframework.beans.factory.InitializingBean
public class SnmpMetadataProvisioningAdapter extends SimplerQueuedProvisioningAdapter implements org.springframework.beans.factory.InitializingBean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter
SimpleQueuedProvisioningAdapter.AdapterOperationQueue, SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTEXT
static String
NAME
static String
PREFIX
-
Fields inherited from class org.opennms.netmgt.provision.SimplerQueuedProvisioningAdapter
m_delay, m_template, m_timeUnit
-
-
Constructor Summary
Constructors Constructor Description SnmpMetadataProvisioningAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
doAddNode(int nodeId)
doAddNodevoid
doNotifyConfigChange(int nodeId)
doNotifyConfigChangevoid
doUpdateNode(int nodeId)
doUpdateNodeEventForwarder
getEventForwarder()
LocationAwareSnmpClient
getLocationAwareSnmpClient()
String
getName()
getNameNodeDao
getNodeDao()
SnmpAgentConfigFactory
getSnmpConfigDao()
SnmpMetadataConfigDao
getSnmpMetadataAdapterConfigDao()
void
handleReloadConfigEvent(IEvent event)
void
queryNode(int nodeId)
void
setEventForwarder(EventForwarder eventForwarder)
void
setLocationAwareSnmpClient(LocationAwareSnmpClient locationAwareSnmpClient)
void
setNodeDao(NodeDao nodeDao)
void
setSnmpConfigDao(SnmpAgentConfigFactory snmpConfigDao)
void
setSnmpMetadataAdapterConfigDao(SnmpMetadataConfigDao snmpMetadataAdapterConfigDao)
-
Methods inherited from class org.opennms.netmgt.provision.SimplerQueuedProvisioningAdapter
doDeleteNode, init, isNodeReady, processPendingOperationForNode, setDelay, setTemplate, setTimeUnit
-
Methods inherited from class org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter
addNode, deleteNode, getOperationQueue, nodeConfigChanged, updateNode
-
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CONTEXT
public static final String CONTEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
doAddNode
public void doAddNode(int nodeId) throws ProvisioningAdapterException
Description copied from class:SimplerQueuedProvisioningAdapter
doAddNode
- Overrides:
doAddNode
in classSimplerQueuedProvisioningAdapter
- Parameters:
nodeId
- a int.- Throws:
ProvisioningAdapterException
-
doUpdateNode
public void doUpdateNode(int nodeId) throws ProvisioningAdapterException
Description copied from class:SimplerQueuedProvisioningAdapter
doUpdateNode
- Overrides:
doUpdateNode
in classSimplerQueuedProvisioningAdapter
- Parameters:
nodeId
- a int.- Throws:
ProvisioningAdapterException
-
queryNode
public void queryNode(int nodeId)
-
doNotifyConfigChange
public void doNotifyConfigChange(int nodeId) throws ProvisioningAdapterException
Description copied from class:SimplerQueuedProvisioningAdapter
doNotifyConfigChange
- Overrides:
doNotifyConfigChange
in classSimplerQueuedProvisioningAdapter
- Parameters:
nodeId
- a int.- Throws:
ProvisioningAdapterException
-
getName
public String getName()
Description copied from class:SimplerQueuedProvisioningAdapter
getName
- Specified by:
getName
in interfaceProvisioningAdapter
- Overrides:
getName
in classSimplerQueuedProvisioningAdapter
- Returns:
- a
String
object.
-
handleReloadConfigEvent
public void handleReloadConfigEvent(IEvent event)
-
getNodeDao
public NodeDao getNodeDao()
-
setNodeDao
public void setNodeDao(NodeDao nodeDao)
-
getSnmpConfigDao
public SnmpAgentConfigFactory getSnmpConfigDao()
-
setSnmpConfigDao
public void setSnmpConfigDao(SnmpAgentConfigFactory snmpConfigDao)
-
getLocationAwareSnmpClient
public LocationAwareSnmpClient getLocationAwareSnmpClient()
-
setLocationAwareSnmpClient
public void setLocationAwareSnmpClient(LocationAwareSnmpClient locationAwareSnmpClient)
-
getEventForwarder
public EventForwarder getEventForwarder()
-
setEventForwarder
public void setEventForwarder(EventForwarder eventForwarder)
-
getSnmpMetadataAdapterConfigDao
public SnmpMetadataConfigDao getSnmpMetadataAdapterConfigDao()
-
setSnmpMetadataAdapterConfigDao
public void setSnmpMetadataAdapterConfigDao(SnmpMetadataConfigDao snmpMetadataAdapterConfigDao)
-
-