public class DefaultApplicationFactory extends Object implements ApplicationFactory
Application instance which gets registered at the
admin server.| Constructor and Description |
|---|
DefaultApplicationFactory(InstanceProperties instance,
org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties management,
org.springframework.boot.autoconfigure.web.ServerProperties server,
org.springframework.boot.actuate.endpoint.web.PathMappedEndpoints pathMappedEndpoints,
org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpoint,
MetadataContributor metadataContributor) |
| Modifier and Type | Method and Description |
|---|---|
Application |
createApplication() |
protected String |
getEndpointsWebPath() |
protected String |
getHealthEndpointPath() |
protected String |
getHealthUrl() |
protected String |
getHost(InetAddress address) |
protected InetAddress |
getLocalHost() |
protected Integer |
getLocalManagementPort() |
protected Integer |
getLocalServerPort() |
protected String |
getManagementBaseUrl() |
protected String |
getManagementHost() |
protected String |
getManagementUrl() |
protected Map<String,String> |
getMetadata() |
protected String |
getName() |
protected String |
getScheme(org.springframework.boot.web.server.Ssl ssl) |
protected String |
getServiceBaseUrl() |
protected String |
getServiceHost() |
protected String |
getServiceUrl() |
protected boolean |
isManagementPortEqual() |
void |
onWebServerInitialized(org.springframework.boot.web.context.WebServerInitializedEvent event) |
public DefaultApplicationFactory(InstanceProperties instance, org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties management, org.springframework.boot.autoconfigure.web.ServerProperties server, org.springframework.boot.actuate.endpoint.web.PathMappedEndpoints pathMappedEndpoints, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpoint, MetadataContributor metadataContributor)
public Application createApplication()
createApplication in interface ApplicationFactoryApplication instance;protected String getName()
protected String getServiceUrl()
protected String getServiceBaseUrl()
protected String getManagementUrl()
protected String getManagementBaseUrl()
protected boolean isManagementPortEqual()
protected String getEndpointsWebPath()
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.web.server.Ssl ssl)
protected String getHost(InetAddress address)
@EventListener public void onWebServerInitialized(org.springframework.boot.web.context.WebServerInitializedEvent event)
Copyright © 2018 codecentric AG. All rights reserved.