public class Alarmd extends Object implements SpringServiceDaemon, org.springframework.beans.factory.DisposableBean
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Constant
NAME="Alarmd" |
| Constructor and Description |
|---|
Alarmd() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
TODO: use onInit() instead
|
void |
destroy()
destroy
|
String |
getName()
getName
|
List<Northbounder> |
getNorthboundInterfaces() |
AlarmPersister |
getPersister()
getPersister
|
void |
onEvent(Event e)
onEvent
|
void |
onNorthbounderRegistered(Northbounder northbounder,
Map<String,String> properties) |
void |
onNorthbounderUnregistered(Northbounder northbounder,
Map<String,String> properties) |
void |
setNorthboundInterfaces(List<Northbounder> northboundInterfaces) |
void |
setPersister(AlarmPersister persister)
setPersister
|
void |
start()
start
|
public static final String NAME
NAME="Alarmd"public void setPersister(AlarmPersister persister)
setPersister
persister - a AlarmPersister object.public AlarmPersister getPersister()
getPersister
AlarmPersister object.public void afterPropertiesSet()
throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.public void destroy()
throws Exception
destroy
destroy in interface org.springframework.beans.factory.DisposableBeanException - if any.public void start()
throws Exception
start
start in interface SpringServiceDaemonException - if any.public void onNorthbounderRegistered(Northbounder northbounder, Map<String,String> properties)
public void onNorthbounderUnregistered(Northbounder northbounder, Map<String,String> properties)
public List<Northbounder> getNorthboundInterfaces()
public void setNorthboundInterfaces(List<Northbounder> northboundInterfaces)
Copyright © 2020. All rights reserved.