public class SpringAwareBotManagerImpl extends BotManagerImpl implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationListener
logger| Constructor and Description |
|---|
SpringAwareBotManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
isShutdownApplicationContextIfWorkDone() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setCheckWorkDoneTrigger(org.springframework.scheduling.Trigger checkWorkDoneTrigger) |
void |
setShutdownApplicationContextIfWorkDone(boolean shutdownApplicationContextIfWorkDone) |
void |
setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler) |
addBot, getBotByUri, getBotForNeedURI, getBots, getBotsForNodeURI, getMonitor, initializeBotIfNecessary, isWorkDone, setBotspublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListenerpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exceptionpublic void setCheckWorkDoneTrigger(org.springframework.scheduling.Trigger checkWorkDoneTrigger)
public void setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
public boolean isShutdownApplicationContextIfWorkDone()
public void setShutdownApplicationContextIfWorkDone(boolean shutdownApplicationContextIfWorkDone)
Copyright © 2018. All Rights Reserved.