Java Code Examples for org.springframework.cloud.client.actuator.HasFeatures#namedFeature()

The following examples show how to use org.springframework.cloud.client.actuator.HasFeatures#namedFeature() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FeignAutoConfiguration.java    From spring-cloud-openfeign with Apache License 2.0 4 votes vote down vote up
@Bean
public HasFeatures feignFeature() {
	return HasFeatures.namedFeature("Feign", Feign.class);
}
 
Example 2
Source File: EurekaServerAutoConfiguration.java    From didi-eureka-server with MIT License 4 votes vote down vote up
@Bean
public HasFeatures eurekaServerFeature() {
	return HasFeatures.namedFeature("Eureka Server",
			EurekaServerAutoConfiguration.class);
}
 
Example 3
Source File: RetrofitAutoConfiguration.java    From spring-cloud-square with Apache License 2.0 4 votes vote down vote up
@Bean
public HasFeatures retrofitFeature() {
	return HasFeatures.namedFeature("Retrofit", Retrofit.class);
}
 
Example 4
Source File: WebClientRetrofitAutoConfiguration.java    From spring-cloud-square with Apache License 2.0 4 votes vote down vote up
@Bean
public HasFeatures retrofitFeature() {
	return HasFeatures.namedFeature("Retrofit", Retrofit.class);
}
 
Example 5
Source File: EurekaServerAutoConfiguration.java    From spring-cloud-netflix with Apache License 2.0 4 votes vote down vote up
@Bean
public HasFeatures eurekaServerFeature() {
	return HasFeatures.namedFeature("Eureka Server",
			EurekaServerAutoConfiguration.class);
}
 
Example 6
Source File: EurekaClientAutoConfiguration.java    From spring-cloud-netflix with Apache License 2.0 4 votes vote down vote up
@Bean
public HasFeatures eurekaFeature() {
	return HasFeatures.namedFeature("Eureka Client", EurekaClient.class);
}