public class DefaultApplicationFactory extends Object implements ApplicationFactory
Application instance which gets registered at the
admin server.| Constructor and Description |
|---|
DefaultApplicationFactory(AdminClientProperties client,
org.springframework.boot.actuate.autoconfigure.ManagementServerProperties management,
org.springframework.boot.autoconfigure.web.ServerProperties server,
String healthEndpointPath) |
| Modifier and Type | Method and Description |
|---|---|
Application |
createApplication() |
protected String |
getHealthEndpointPath() |
protected String |
getHealthUrl() |
protected String |
getHost(InetAddress address) |
protected InetAddress |
getLocalHost() |
protected Integer |
getLocalManagementPort() |
protected Integer |
getLocalServerPort() |
protected String |
getManagementHost() |
protected String |
getManagementUrl() |
protected String |
getName() |
protected String |
getScheme(org.springframework.boot.context.embedded.Ssl ssl) |
protected String |
getServiceHost() |
protected String |
getServiceUrl() |
void |
onApplicationReady(org.springframework.boot.context.event.ApplicationReadyEvent event) |
public DefaultApplicationFactory(AdminClientProperties client, org.springframework.boot.actuate.autoconfigure.ManagementServerProperties management, org.springframework.boot.autoconfigure.web.ServerProperties server, String healthEndpointPath)
public Application createApplication()
createApplication in interface ApplicationFactoryApplication instance;protected String getName()
protected String getServiceUrl()
protected String getManagementUrl()
protected String getHealthUrl()
protected String getServiceHost()
protected String getManagementHost()
protected InetAddress getLocalHost()
protected Integer getLocalServerPort()
protected Integer getLocalManagementPort()
protected String getHealthEndpointPath()
protected String getScheme(org.springframework.boot.context.embedded.Ssl ssl)
protected String getHost(InetAddress address)
@EventListener public void onApplicationReady(org.springframework.boot.context.event.ApplicationReadyEvent event)
Copyright © 2016 codecentric AG. All rights reserved.