public class SnmpHardwareInventoryProvisioningAdapter extends SimplerQueuedProvisioningAdapter implements org.springframework.beans.factory.InitializingBean
SimpleQueuedProvisioningAdapter.AdapterOperationQueue, SimpleQueuedProvisioningAdapter.AdapterOperationQueueListener| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
The Constant NAME.
|
static String |
PREFIX
The Constant PREFIX.
|
m_delay, m_template, m_timeUnit| Constructor and Description |
|---|
SnmpHardwareInventoryProvisioningAdapter()
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
doAddNode(int nodeId)
doAddNode
|
void |
doNotifyConfigChange(int nodeId)
doNotifyConfigChange
|
void |
doUpdateNode(int nodeId)
doUpdateNode
|
EventForwarder |
getEventForwarder()
Gets the event forwarder.
|
SnmpHwInventoryAdapterConfigDao |
getHwAdapterConfigDao()
Gets the hardware adapter configuration DAO.
|
HwEntityAttributeTypeDao |
getHwEntityAttributeTypeDao()
Gets the hardware entity attribute type DAO.
|
HwEntityDao |
getHwEntityDao()
Gets the hardware entity DAO.
|
LocationAwareSnmpClient |
getLocationAwareSnmpClient() |
String |
getName()
getName
|
NodeDao |
getNodeDao()
Gets the node DAO.
|
SnmpAgentConfigFactory |
getSnmpPeerFactory()
Gets the SNMP peer factory.
|
protected Map<SnmpObjId,HwEntityAttributeType> |
getVendorAttributeMap()
Gets the vendor attribute map.
|
void |
handleReloadConfigEvent(Event event)
Handle reload configuration event.
|
void |
setEventForwarder(EventForwarder eventForwarder)
Sets the event forwarder.
|
void |
setHwEntityAttributeTypeDao(HwEntityAttributeTypeDao hwEntityAttributeTypeDao)
Sets the hardware entity attribute type DAO.
|
void |
setHwEntityDao(HwEntityDao hwEntityDao)
Sets the hardware entity DAO.
|
void |
setHwInventoryAdapterConfigDao(SnmpHwInventoryAdapterConfigDao hwInventoryAdapterConfigDao)
Sets the hardware inventory adapter configuration DAO.
|
void |
setLocationAwareSnmpClient(LocationAwareSnmpClient locationAwareSnmpClient) |
void |
setNodeDao(NodeDao dao)
Sets the node DAO.
|
void |
setSnmpPeerFactory(SnmpAgentConfigFactory snmpConfigDao)
Sets the SNMP peer factory.
|
doDeleteNode, init, isNodeReady, processPendingOperationForNode, setDelay, setTemplate, setTimeUnitaddNode, deleteNode, getOperationQueue, nodeConfigChanged, updateNodepublic static final String PREFIX
public static final String NAME
public SnmpHardwareInventoryProvisioningAdapter()
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void doAddNode(int nodeId)
throws ProvisioningAdapterException
SimplerQueuedProvisioningAdapterdoAddNode
doAddNode in class SimplerQueuedProvisioningAdapternodeId - a int.ProvisioningAdapterExceptionpublic void doUpdateNode(int nodeId)
throws ProvisioningAdapterException
SimplerQueuedProvisioningAdapterdoUpdateNode
doUpdateNode in class SimplerQueuedProvisioningAdapternodeId - a int.ProvisioningAdapterExceptionpublic void doNotifyConfigChange(int nodeId)
throws ProvisioningAdapterException
SimplerQueuedProvisioningAdapterdoNotifyConfigChange
doNotifyConfigChange in class SimplerQueuedProvisioningAdapternodeId - a int.ProvisioningAdapterExceptionpublic HwEntityDao getHwEntityDao()
public void setHwEntityDao(HwEntityDao hwEntityDao)
hwEntityDao - the hardware entity DAOpublic HwEntityAttributeTypeDao getHwEntityAttributeTypeDao()
public void setHwEntityAttributeTypeDao(HwEntityAttributeTypeDao hwEntityAttributeTypeDao)
hwEntityAttributeTypeDao - the hardware entity attribute type DAOpublic NodeDao getNodeDao()
public void setNodeDao(NodeDao dao)
dao - the node DAOpublic EventForwarder getEventForwarder()
public void setEventForwarder(EventForwarder eventForwarder)
eventForwarder - the event forwarderpublic SnmpAgentConfigFactory getSnmpPeerFactory()
public void setSnmpPeerFactory(SnmpAgentConfigFactory snmpConfigDao)
snmpConfigDao - the SNMP peer factorypublic SnmpHwInventoryAdapterConfigDao getHwAdapterConfigDao()
public void setHwInventoryAdapterConfigDao(SnmpHwInventoryAdapterConfigDao hwInventoryAdapterConfigDao)
hwInventoryAdapterConfigurationDao - the hardware inventory adapter configuration DAOpublic void setLocationAwareSnmpClient(LocationAwareSnmpClient locationAwareSnmpClient)
public LocationAwareSnmpClient getLocationAwareSnmpClient()
public String getName()
SimplerQueuedProvisioningAdaptergetName
getName in interface ProvisioningAdaptergetName in class SimplerQueuedProvisioningAdapterString object.public void handleReloadConfigEvent(Event event)
event - the eventprotected Map<SnmpObjId,HwEntityAttributeType> getVendorAttributeMap()
Copyright © 2020. All rights reserved.