org.opennms.netmgt.alarmd
Class Alarmd

java.lang.Object
  extended by org.opennms.netmgt.alarmd.Alarmd
All Implemented Interfaces:
SpringServiceDaemon, EventListener, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class Alarmd
extends Object
implements EventListener, SpringServiceDaemon, org.springframework.beans.factory.DisposableBean

Alarm management Daemon

Author:
David Hustace

Field Summary
static String NAME
           
 
Constructor Summary
Alarmd()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 EventForwarder getEventForwarder()
           
 EventSubscriptionService getEventSubscriptionService()
           
 String getName()
           
 AlarmPersister getPersister()
           
 void onEvent(Event e)
           
 void setEventForwarder(EventForwarder eventForwarder)
           
 void setEventSubscriptionService(EventSubscriptionService eventManager)
           
 void setPersister(AlarmPersister persister)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

Alarmd

public Alarmd()
Method Detail

getEventForwarder

public EventForwarder getEventForwarder()

setEventForwarder

public void setEventForwarder(EventForwarder eventForwarder)

getEventSubscriptionService

public EventSubscriptionService getEventSubscriptionService()

setEventSubscriptionService

public void setEventSubscriptionService(EventSubscriptionService eventManager)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

getName

public String getName()
Specified by:
getName in interface EventListener

start

public void start()
           throws Exception
Specified by:
start in interface SpringServiceDaemon
Throws:
Exception

onEvent

public void onEvent(Event e)
Specified by:
onEvent in interface EventListener

setPersister

public void setPersister(AlarmPersister persister)

getPersister

public AlarmPersister getPersister()


Copyright © 2009. All Rights Reserved.