|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openoss.opennms.spring.qosdrx.QoSDrxAlarmEventReceiverEventHandlerImpl2
public class QoSDrxAlarmEventReceiverEventHandlerImpl2
Work in progress - implementing business methods
| Field Summary | |
|---|---|
static int |
SPECIFY_OUTSTATION
if alarmUpdateBehaviour is set to SPECIFY_OUTSTATION
the receiver name will be used as the node name which will be updated with
alarms from this receiver. |
static int |
USE_TYPE_INSTANCE
if alarmUpdateBehaviour is set to USE_TYPE_INSTANCE
the alarm will be created with the node name corrsponding to a concatenation
of the ManagedObjectID and ManagedObjectType. |
| Constructor Summary | |
|---|---|
QoSDrxAlarmEventReceiverEventHandlerImpl2()
|
|
| Method Summary | |
|---|---|
void |
init()
Used by receiver to initialise this class Must be called before any other methods to ensure that ossDao is initialised |
void |
onNotifyAckStateChangedEvent(javax.oss.fm.monitor.NotifyAckStateChangedEvent nasce,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
|
void |
onNotifyAlarmCommentsEvent(javax.oss.fm.monitor.NotifyAlarmCommentsEvent nace,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
|
void |
onNotifyAlarmListRebuiltEvent(javax.oss.fm.monitor.NotifyAlarmListRebuiltEvent nalre,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
|
void |
onNotifyChangedAlarmEvent(javax.oss.fm.monitor.NotifyChangedAlarmEvent nchae,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
|
void |
onNotifyClearedAlarmEvent(javax.oss.fm.monitor.NotifyClearedAlarmEvent nclae,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
|
void |
onNotifyNewAlarmEvent(javax.oss.fm.monitor.NotifyNewAlarmEvent nnae,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
|
void |
onUnknownIRPEvt(javax.oss.util.IRPEvent irpevt,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
|
void |
onunknownObjectMessage(java.lang.Object objectMessage,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
|
void |
setalarmDao(org.opennms.netmgt.dao.AlarmDao alarmDao)
Used by Spring Application context to pass in alarmDao |
void |
setalarmUpdateBehaviour(java.lang.String _alarmUpdateBehaviour)
Used by Spring Application context to pass in alarmUpdateBehaviour as a string |
void |
setassetRecordDao(org.opennms.netmgt.dao.AssetRecordDao ar)
Used by Spring Application context to pass in AssetRecordDao |
void |
setdistPollerDao(org.opennms.netmgt.dao.DistPollerDao _distPollerDao)
Used by Spring Application context to pass in distPollerDao; |
void |
setnodeDao(org.opennms.netmgt.dao.NodeDao nodedao)
Used by Spring Application context to pass in NodeDaof |
void |
setOnmsAlarmOssjMapper(OnmsAlarmOssjMapper onmsAlarmOssjMapper)
Used by Spring Application context to pass in OnmsAlarmOssjMapper The OnmsAlarmOssjMapper class maps OpenNMS alarms to OSS/J alarms and events |
void |
setossDao(OssDaoOpenNMSImpl _ossDao)
provides an interface to OpenNMS which provides a unified api |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int SPECIFY_OUTSTATION
alarmUpdateBehaviour is set to SPECIFY_OUTSTATION
the receiver name will be used as the node name which will be updated with
alarms from this receiver. Usually this is set to the name of the node
associated with the outstation but it can be set to a node which is a
catch all for received alarms ( i.e. the local host perhaps )
public static int USE_TYPE_INSTANCE
alarmUpdateBehaviour is set to USE_TYPE_INSTANCE
the alarm will be created with the node name corrsponding to a concatenation
of the ManagedObjectID and ManagedObjectType. If these cannot be found
then the alarm will default to the outstation node
| Constructor Detail |
|---|
public QoSDrxAlarmEventReceiverEventHandlerImpl2()
| Method Detail |
|---|
public void setalarmUpdateBehaviour(java.lang.String _alarmUpdateBehaviour)
alarmUpdateBehaviour - must be
"USE_TYPE_INSTANCE"
or
"SPECIFY_OUTSTATION"public void setassetRecordDao(org.opennms.netmgt.dao.AssetRecordDao ar)
ar - public void setnodeDao(org.opennms.netmgt.dao.NodeDao nodedao)
nodedao - public void setalarmDao(org.opennms.netmgt.dao.AlarmDao alarmDao)
alarmDao - public void setdistPollerDao(org.opennms.netmgt.dao.DistPollerDao _distPollerDao)
public void setossDao(OssDaoOpenNMSImpl _ossDao)
ossDao - the ossDao to setpublic void setOnmsAlarmOssjMapper(OnmsAlarmOssjMapper onmsAlarmOssjMapper)
onmsAlarmOssjMapper - the onmsAlarmOssjMapper to setpublic void init()
init in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
public void onNotifyNewAlarmEvent(javax.oss.fm.monitor.NotifyNewAlarmEvent nnae,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
onNotifyNewAlarmEvent in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
public void onNotifyClearedAlarmEvent(javax.oss.fm.monitor.NotifyClearedAlarmEvent nclae,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
onNotifyClearedAlarmEvent in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
public void onNotifyAckStateChangedEvent(javax.oss.fm.monitor.NotifyAckStateChangedEvent nasce,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
onNotifyAckStateChangedEvent in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
public void onNotifyAlarmCommentsEvent(javax.oss.fm.monitor.NotifyAlarmCommentsEvent nace,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
onNotifyAlarmCommentsEvent in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
public void onNotifyAlarmListRebuiltEvent(javax.oss.fm.monitor.NotifyAlarmListRebuiltEvent nalre,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
onNotifyAlarmListRebuiltEvent in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
public void onNotifyChangedAlarmEvent(javax.oss.fm.monitor.NotifyChangedAlarmEvent nchae,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
onNotifyChangedAlarmEvent in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
public void onUnknownIRPEvt(javax.oss.util.IRPEvent irpevt,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
onUnknownIRPEvt in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
public void onunknownObjectMessage(java.lang.Object objectMessage,
org.openoss.ossj.fm.monitor.spring.OssBeanAlarmEventReceiver callingAer)
onunknownObjectMessage in interface org.openoss.ossj.fm.monitor.spring.AlarmEventReceiverEventHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||