@Bean
 public HasFeatures feignFeature() {
   return HasFeatures.namedFeature("Feign", Feign.class);
 }
 @Bean
 public HasFeatures eurekaFeature() {
   return HasFeatures.namedFeature("Eureka Client", EurekaClient.class);
 }
コード例 #3
0
 @Bean
 public HasFeatures Feature() {
   return HasFeatures.namedFeature("Netflix Sidecar", SidecarConfiguration.class);
 }