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)| 构造器和说明 |
|---|
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 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 在接口中 EndpointLocatorpublic void onApplicationEvent(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.