@Profile(value="cloud") @Configuration protected static class StubRunnerSpringCloudEurekaAutoConfiguration.CloudConfig extends Object
Modifier | Constructor and Description |
---|---|
protected |
CloudConfig() |
Modifier and Type | Method and Description |
---|---|
StubsRegistrar |
stubsRegistrar(StubRunning stubRunning,
org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.netflix.eureka.serviceregistry.EurekaRegistration> serviceRegistry,
org.springframework.context.ApplicationContext context,
StubMapperProperties stubMapperProperties,
org.springframework.cloud.commons.util.InetUtils inetUtils,
org.springframework.cloud.netflix.eureka.EurekaInstanceConfigBean eurekaInstanceConfigBean,
org.springframework.cloud.netflix.eureka.EurekaClientConfigBean eurekaClientConfigBean) |
@Bean(initMethod="registerStubs") public StubsRegistrar stubsRegistrar(StubRunning stubRunning, org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.netflix.eureka.serviceregistry.EurekaRegistration> serviceRegistry, org.springframework.context.ApplicationContext context, StubMapperProperties stubMapperProperties, org.springframework.cloud.commons.util.InetUtils inetUtils, org.springframework.cloud.netflix.eureka.EurekaInstanceConfigBean eurekaInstanceConfigBean, org.springframework.cloud.netflix.eureka.EurekaClientConfigBean eurekaClientConfigBean)
Copyright © 2016–2018 Spring. All rights reserved.