public class DefaultEndpointLocator extends Object implements EndpointLocator, org.springframework.context.ApplicationListener<org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent>
EndpointLocator implementation that:
ServerProperties or RegistrationServerPropertiesServerPropertiesZipkinProperties.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 EndpointLocatorpublic 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 © 2018 Pivotal Software, Inc.. All rights reserved.