public class Bsmd extends Object implements SpringServiceDaemon, BusinessServiceStateChangeHandler
| Modifier and Type | Field and Description |
|---|---|
protected static long |
DEFAULT_POLL_INTERVAL |
static String |
NAME |
protected static String |
POLL_INTERVAL_KEY |
| Constructor and Description |
|---|
Bsmd() |
protected static final long DEFAULT_POLL_INTERVAL
protected static final String POLL_INTERVAL_KEY
public static final String NAME
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void start()
throws Exception
SpringServiceDaemonstart
start in interface SpringServiceDaemonException - if any.protected boolean isAlarmPolling()
protected long getPollInterval()
public void handleAlarmLifecycleEvents(Event e)
public void handleBusinessServiceStateChanged(BusinessService businessService, Status newStatus, Status prevStatus)
handleBusinessServiceStateChanged in interface BusinessServiceStateChangeHandlerpublic void handleReloadEvent(Event e)
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic void setAlarmDao(AlarmDao alarmDao)
public AlarmDao getAlarmDao()
public void setEventIpcManager(EventIpcManager eventIpcManager)
public EventIpcManager getEventIpcManager()
public void setEventConfDao(EventConfDao eventConfDao)
public EventConfDao getEventConfDao()
public void setTransactionTemplate(org.springframework.transaction.support.TransactionTemplate template)
public org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()
public void setVerifyReductionKeys(boolean verify)
public boolean getVerifyReductionKeys()
public void setBusinessServiceStateMachine(BusinessServiceStateMachine stateMachine)
public BusinessServiceStateMachine getBusinessServiceStateMachine()
Copyright © 2020. All rights reserved.