public interface MicroserviceListener
Modifier and Type | Method and Description |
---|---|
void |
onConfigChange(Microservice microservice,
ConfigEvents events)
Called if one or more changes occur in the config file.
|
void |
onStart(Microservice microservice)
Called at the beginning of the
Microservice.start() call. |
void |
onStop(Microservice microservice)
Called at the end of the
Microservice.stop() call. |
void onStart(Microservice microservice)
Microservice.start()
call.microservice
- Reference to microservice.void onStop(Microservice microservice)
Microservice.stop()
call.microservice
- Reference to microservice.void onConfigChange(Microservice microservice, ConfigEvents events)
microservice
- Reference to microservice.events
- The list of changes in the config file.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.