public class ApplicationRegistrator extends Object
| Constructor and Description |
|---|
ApplicationRegistrator(org.springframework.web.client.RestTemplate template,
AdminProperties admin,
ApplicationFactory applicationFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Application |
createApplication() |
void |
deregister() |
String |
getRegisteredId()
Returns the id of this client as given by the admin server.
|
boolean |
register()
Registers the client application at spring-boot-admin-server.
|
public ApplicationRegistrator(org.springframework.web.client.RestTemplate template,
AdminProperties admin,
ApplicationFactory applicationFactory)
public boolean register()
public void deregister()
public String getRegisteredId()
protected Application createApplication()
Copyright © 2018 codecentric AG. All rights reserved.