Interface RegistrationManagementLifecycle<R extends Registration>
- All Superinterfaces:
org.springframework.core.Ordered,RegistrationLifecycle<R>
public interface RegistrationManagementLifecycle<R extends Registration>
extends RegistrationLifecycle<R>
Service registration life cycle. This life cycle is only related to
AbstractAutoServiceRegistration.getManagementRegistration().- Author:
- Zen Huifer
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface org.springframework.cloud.client.serviceregistry.RegistrationLifecycle
DEFAULT_ORDER -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessAfterStartRegisterManagement(R registrationManagement) A method executed after registering the local management service with theServiceRegistry.voidpostProcessAfterStopRegisterManagement(R registrationManagement) A method executed after de-registering the management local service with theServiceRegistry.voidpostProcessBeforeStartRegisterManagement(R registrationManagement) A method executed before registering the local management service with theServiceRegistry.voidpostProcessBeforeStopRegisterManagement(R registrationManagement) A method executed before de-registering the management local service with theServiceRegistry.Methods inherited from interface org.springframework.cloud.client.serviceregistry.RegistrationLifecycle
getOrder, postProcessAfterStartRegister, postProcessAfterStopRegister, postProcessBeforeStartRegister, postProcessBeforeStopRegister
-
Method Details
-
postProcessBeforeStartRegisterManagement
A method executed before registering the local management service with theServiceRegistry.- Parameters:
registrationManagement- registrationManagement
-
postProcessAfterStartRegisterManagement
A method executed after registering the local management service with theServiceRegistry.- Parameters:
registrationManagement- registrationManagement
-
postProcessBeforeStopRegisterManagement
A method executed before de-registering the management local service with theServiceRegistry.- Parameters:
registrationManagement- registrationManagement
-
postProcessAfterStopRegisterManagement
A method executed after de-registering the management local service with theServiceRegistry.- Parameters:
registrationManagement- registrationManagement
-