|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openoss.opennms.spring.qosd.spring.AlarmListConnectionManagerSpringImpl
public class AlarmListConnectionManagerSpringImpl
AlarmListConnectionManagerSpringImpl class.
| Field Summary |
|---|
| Fields inherited from interface org.openoss.opennms.spring.qosd.AlarmListConnectionManager |
|---|
CONNECTED, DISCONNECTED, REBUILD, SEND, SENT, STOP |
| Constructor Summary | |
|---|---|
AlarmListConnectionManagerSpringImpl()
The AlarmListConnectionManagerSpringImpl instantiates the AlarmMonitorBean within OpenNMS without Jboss This is an alternative to contacting the bean in jboss. |
|
| Method Summary | |
|---|---|
int |
getStatus()
Getter for the field status. |
void |
init(PropertiesLoader props,
Properties env)
Initialises the ConnectionManagerThread |
void |
kill()
kill |
javax.oss.fm.monitor.AlarmValue |
makeAlarmValue()
Makes a new empty alarm value object NOTE THIS IS A PATCH to proxy for JVTAlarmMonitorSession.makeAlarmValue() |
javax.oss.fm.monitor.AlarmValue |
makeAlarmValueFromSpec()
Makes a new alarm value object pre-populated with internal objects which have been made from a local invarient specification. |
void |
reset_list(String _rebuilt_message)
this method resets the alarm list in the AlarmMonitorBean and causes an alarmlist rebuilt event to be sent. |
void |
run()
run |
void |
send(Hashtable<AlarmKey,AlarmValue> alarmList)
Sends the AlarmList to the AlarmMonitorBean |
void |
setAlarmMonitorDao(AlarmMonitorDao alarmMonitorDao)
Setter for the field alarmMonitorDao. |
void |
setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext m_context)
Used by jmx mbean QoSD to pass in Spring Application context |
void |
start()
start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlarmListConnectionManagerSpringImpl()
| Method Detail |
|---|
public void setAlarmMonitorDao(AlarmMonitorDao alarmMonitorDao)
Setter for the field alarmMonitorDao.
alarmMonitorDao - the alarmMonitorDao to setpublic void setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext m_context)
setApplicationContext in interface AlarmListConnectionManagerm_context - - application context for this bean to usepublic int getStatus()
Getter for the field status.
getStatus in interface AlarmListConnectionManager
public void init(PropertiesLoader props,
Properties env)
init in interface AlarmListConnectionManagerprops - The PropertiesLoader method which reads the Qosd.properties fileenv - the returned properties for setting up the connections to the AlarmMonitorBeanpublic void kill()
kill
kill in interface AlarmListConnectionManagerpublic void reset_list(String _rebuilt_message)
reset_list in interface AlarmListConnectionManager_rebuilt_message - message to include in the NotifyAlarmListRebuiltEvent
public void run()
throws IllegalStateException
run
run in interface AlarmListConnectionManagerIllegalStateException - if any.public void send(Hashtable<AlarmKey,AlarmValue> alarmList)
send in interface AlarmListConnectionManageralarmList - a Hashtable object.public void start()
start
start in interface AlarmListConnectionManagerpublic javax.oss.fm.monitor.AlarmValue makeAlarmValue()
makeAlarmValue in interface AlarmListConnectionManagerpublic javax.oss.fm.monitor.AlarmValue makeAlarmValueFromSpec()
makeAlarmValueFromSpec in interface AlarmListConnectionManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||