Package org.chenile.core.init
Class ChenileEventSubscribersInitializer
java.lang.Object
org.chenile.core.init.ChenileEventSubscribersInitializer
Runs after all the events and services are registered in Chenile.
 It goes through all services and registers the operations to the subscribed events. 
 This will enable Chenile to trigger all the subscribers upon the receipt of an event.
- Author:
- Raja Shankar Kolluru
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinit()private voidregisterSubscriber(ChenileServiceDefinition s, OperationDefinition operationDefinition, String eventId) 
- 
Field Details- 
chenileConfiguration
 
- 
- 
Constructor Details- 
ChenileEventSubscribersInitializerpublic ChenileEventSubscribersInitializer()
 
- 
- 
Method Details- 
init@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) @Order(20) public void init()
- 
registerSubscriberprivate void registerSubscriber(ChenileServiceDefinition s, OperationDefinition operationDefinition, String eventId) 
 
-