Interface ApplicationRegistrator
- All Known Implementing Classes:
DefaultApplicationRegistrator
public interface ApplicationRegistrator
Interface for client application registration at spring-boot-admin-server
-
Method Summary
Modifier and TypeMethodDescriptionvoidTries to deregister currently registered applicationbooleanregister()Registers the client application at spring-boot-admin-server.
-
Method Details
-
register
boolean register()Registers the client application at spring-boot-admin-server.- Returns:
- true if successful registration on at least one admin server
-
deregister
void deregister()Tries to deregister currently registered application -
getRegisteredId
String getRegisteredId()- Returns:
- the id of this client as given by the admin server. Returns null if the client has not registered against the admin server yet.
-