Package brave.spring.beans
Class EndpointFactoryBean
- java.lang.Object
-
- brave.spring.beans.EndpointFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean
public class EndpointFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean
Spring XML config does not support chained builders. This converts accordingly
-
-
Constructor Summary
Constructors Constructor Description EndpointFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description zipkin2.EndpointgetObject()Class<? extends zipkin2.Endpoint>getObjectType()booleanisSingleton()voidsetIp(String ip)voidsetPort(Integer port)voidsetServiceName(String serviceName)
-
-
-
Method Detail
-
getObject
public zipkin2.Endpoint getObject()
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean
-
getObjectType
public Class<? extends zipkin2.Endpoint> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-
setServiceName
public void setServiceName(String serviceName)
-
setIp
public void setIp(String ip)
-
setPort
public void setPort(Integer port)
-
-