Package org.apache.juneau.microservice
Class BasicMicroserviceListener
java.lang.Object
org.apache.juneau.microservice.BasicMicroserviceListener
- All Implemented Interfaces:
- MicroserviceListener
- Direct Known Subclasses:
- BasicJettyMicroserviceListener
Basic extensible microservice listener with default no-op method implementations.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidonConfigChange(Microservice microservice, ConfigEvents events) Called if one or more changes occur in the config file.voidonStart(Microservice microservice) Called at the beginning of theMicroservice.start()call.voidonStop(Microservice microservice) Called at the end of theMicroservice.stop()call.
- 
Constructor Details- 
BasicMicroserviceListenerpublic BasicMicroserviceListener()
 
- 
- 
Method Details- 
onStartDescription copied from interface:MicroserviceListenerCalled at the beginning of theMicroservice.start()call.- Specified by:
- onStartin interface- MicroserviceListener
- Parameters:
- microservice- Reference to microservice.
 
- 
onStopDescription copied from interface:MicroserviceListenerCalled at the end of theMicroservice.stop()call.- Specified by:
- onStopin interface- MicroserviceListener
- Parameters:
- microservice- Reference to microservice.
 
- 
onConfigChangeDescription copied from interface:MicroserviceListenerCalled if one or more changes occur in the config file.- Specified by:
- onConfigChangein interface- MicroserviceListener
- Parameters:
- microservice- Reference to microservice.
- events- The list of changes in the config file.
 
 
-