public class EmailNorthbounderManager extends Object implements org.springframework.beans.factory.InitializingBean, Northbounder, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
EmailNorthbounderManager() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
After properties set.
|
void |
destroy()
Destroy.
|
String |
getName()
Gets the name.
|
void |
onAlarm(NorthboundAlarm alarm)
On alarm.
|
void |
reloadConfig()
Reloads the configuration.
|
void |
start()
Start.
|
void |
stop()
Stop.
|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
- the exceptionpublic void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
- the exceptionpublic void start() throws NorthbounderException
start
in interface Northbounder
NorthbounderException
- the northbounder exceptionpublic void onAlarm(NorthboundAlarm alarm) throws NorthbounderException
onAlarm
in interface Northbounder
alarm
- the alarmNorthbounderException
- the northbounder exceptionpublic void stop() throws NorthbounderException
stop
in interface Northbounder
NorthbounderException
- the northbounder exceptionpublic String getName()
getName
in interface Northbounder
public void reloadConfig()
reloadConfig
in interface Northbounder
Copyright © 2017. All rights reserved.