public class DefaultEndpointLocator extends Object implements EndpointLocator, org.springframework.context.ApplicationListener<org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent>
EndpointLocator
implementation that.
ServerProperties
or Registration
ServerProperties
ServerProperties
ZipkinProperties.Service.setName(String)
Constructor and Description |
---|
DefaultEndpointLocator(org.springframework.cloud.client.serviceregistry.Registration registration,
org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
org.springframework.core.env.Environment environment,
ZipkinProperties zipkinProperties,
org.springframework.cloud.commons.util.InetUtils inetUtils) |
Modifier and Type | Method and Description |
---|---|
zipkin2.Endpoint |
local() |
void |
onApplicationEvent(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event) |
public DefaultEndpointLocator(org.springframework.cloud.client.serviceregistry.Registration registration, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, org.springframework.core.env.Environment environment, ZipkinProperties zipkinProperties, org.springframework.cloud.commons.util.InetUtils inetUtils)
public zipkin2.Endpoint local()
local
in interface EndpointLocator
public void onApplicationEvent(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent>
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.