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.Endpoint
getObject()
Class<? extends zipkin2.Endpoint>
getObjectType()
boolean
isSingleton()
void
setIp(String ip)
void
setPort(Integer port)
void
setServiceName(String serviceName)
-
-
-
Method Detail
-
getObject
public zipkin2.Endpoint getObject()
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean
-
getObjectType
public Class<? extends zipkin2.Endpoint> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
setServiceName
public void setServiceName(String serviceName)
-
setIp
public void setIp(String ip)
-
setPort
public void setPort(Integer port)
-
-