public class EventBot.MyEventListenerContext extends java.lang.Object implements EventListenerContext
| Constructor and Description |
|---|
MyEventListenerContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelTrigger()
The bot may have a trigger attached that causes ActEvents to be created regularly.
|
BotContext |
getBotContext()
Returns the BotContext of the bot.
|
BotContextWrapper |
getBotContextWrapper()
Returns the BotContextWrapper of the bot.
|
EventBus |
getEventBus()
Returns the bot's event bus.
|
java.util.concurrent.Executor |
getExecutor()
Returns an executor that passes the tasks to the TaskScheduler for immediate execution.
|
LinkedDataSource |
getLinkedDataSource()
Returns a linked data source.
|
MatcherNodeURISource |
getMatcherNodeURISource() |
MatcherProtocolMatcherServiceImplJMSBased |
getMatcherProtocolMatcherService() |
MatcherProtocolNeedServiceClientSide |
getMatcherProtocolNeedServiceClient()
Returns the bot's matcher service
|
NeedProducer |
getNeedProducer()
Returns the bot's needProducer.
|
NodeURISource |
getNodeURISource()
Returns the bot's NodeURISource.
|
java.net.URI |
getSolrServerURI() |
org.springframework.scheduling.TaskScheduler |
getTaskScheduler()
Returns the bot's taskScheduler.
|
WonMessageSender |
getWonMessageSender()
Returns the bot's wonMessageSender.
|
WonNodeInformationService |
getWonNodeInformationService()
Returns a WonNodeInformationService.
|
void |
workIsDone()
Signals to the framework that the bot's work is done and it may be shut down.
|
public org.springframework.scheduling.TaskScheduler getTaskScheduler()
EventListenerContextgetTaskScheduler in interface EventListenerContextpublic NodeURISource getNodeURISource()
EventListenerContextgetNodeURISource in interface EventListenerContextpublic java.net.URI getSolrServerURI()
getSolrServerURI in interface EventListenerContextpublic MatcherNodeURISource getMatcherNodeURISource()
getMatcherNodeURISource in interface EventListenerContextpublic WonMessageSender getWonMessageSender()
EventListenerContextgetWonMessageSender in interface EventListenerContextpublic MatcherProtocolNeedServiceClientSide getMatcherProtocolNeedServiceClient()
EventListenerContextgetMatcherProtocolNeedServiceClient in interface EventListenerContextpublic MatcherProtocolMatcherServiceImplJMSBased getMatcherProtocolMatcherService()
getMatcherProtocolMatcherService in interface EventListenerContextpublic NeedProducer getNeedProducer()
EventListenerContextgetNeedProducer in interface EventListenerContextpublic void cancelTrigger()
EventListenerContextcancelTrigger in interface EventListenerContextpublic void workIsDone()
EventListenerContextworkIsDone in interface EventListenerContextpublic EventBus getEventBus()
EventListenerContextgetEventBus in interface EventListenerContextpublic BotContext getBotContext()
EventListenerContextgetBotContext in interface EventListenerContextpublic BotContextWrapper getBotContextWrapper()
EventListenerContextgetBotContextWrapper in interface EventListenerContextpublic java.util.concurrent.Executor getExecutor()
getExecutor in interface EventListenerContextpublic LinkedDataSource getLinkedDataSource()
EventListenerContextgetLinkedDataSource in interface EventListenerContextpublic WonNodeInformationService getWonNodeInformationService()
EventListenerContextgetWonNodeInformationService in interface EventListenerContextCopyright © 2018. All Rights Reserved.