public class ApplicationRegistrator extends Object
| Constructor and Description |
|---|
ApplicationRegistrator(ApplicationFactory applicationFactory,
RegistrationClient registrationClient,
String[] adminUrls,
boolean registerOnce) |
| Modifier and Type | Method and Description |
|---|---|
void |
deregister() |
String |
getRegisteredId() |
boolean |
register()
Registers the client application at spring-boot-admin-server.
|
protected boolean |
register(Application application,
String adminUrl,
boolean firstAttempt) |
public ApplicationRegistrator(ApplicationFactory applicationFactory, RegistrationClient registrationClient, String[] adminUrls, boolean registerOnce)
public boolean register()
protected boolean register(Application application, String adminUrl, boolean firstAttempt)
public void deregister()
public String getRegisteredId()
Copyright © 2020 codecentric AG. All rights reserved.