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,
javax.servlet.ServletContext servletContext,
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 Map<String,String> |
getMetadata() |
protected String |
getName() |
protected String |
getScheme(org.springframework.boot.context.embedded.Ssl ssl) |
protected String |
getServiceHost() |
protected String |
getServiceUrl() |
protected boolean |
isManagementPortEqual() |
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, javax.servlet.ServletContext servletContext, String healthEndpointPath)
public Application createApplication()
createApplication in interface ApplicationFactoryApplication instance;protected String getName()
protected String getServiceUrl()
protected String getManagementUrl()
protected boolean isManagementPortEqual()
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 © 2017 codecentric AG. All rights reserved.