- Type Parameters:
T - the ServiceInfo type
- All Implemented Interfaces:
- java.util.EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>, org.springframework.core.Ordered
- Direct Known Subclasses:
- ConfigServerServiceConnector, EurekaServiceConnector, HystrixStreamServiceConnector
public abstract class ServiceInfoPropertySourceAdapter<T extends org.springframework.cloud.service.ServiceInfo>
extends java.lang.Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>, org.springframework.core.Ordered
Transforms a ServiceInfo into a PropertySource with highest precedence
- Author:
- Scott Frederick, Will Tran
- See Also:
-
http://docs.spring.io/spring-boot/docs/current/reference/html/boot-
features-external-config.html#boot-features-external-config