Package org.chenile.filewatch.init
Class FileWatchSubscribersInitializer
java.lang.Object
org.chenile.filewatch.init.FileWatchSubscribersInitializer
Runs after all the file watches and services are registered in Chenile.
 It goes through all services and registers the operations to the subscribed file watchers. 
 This will enable Chenile to trigger all the subscribers upon the receipt of a file watch.
- Author:
- Raja Shankar Kolluru
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) ChenileConfiguration(package private) FileWatchBuilder
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinit()private voidregisterSubscriber(ChenileServiceDefinition s, OperationDefinition operationDefinition, String fileWatchId) 
- 
Field Details- 
chenileConfiguration
- 
fileWatchBuilder
 
- 
- 
Constructor Details- 
FileWatchSubscribersInitializerpublic FileWatchSubscribersInitializer()
 
- 
- 
Method Details- 
init@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void init() throws Exception- Throws:
- Exception
 
- 
registerSubscriberprivate void registerSubscriber(ChenileServiceDefinition s, OperationDefinition operationDefinition, String fileWatchId) 
 
-