@Configuration(proxyBeanMethods=false) @Import(value=RibbonClientConfigurationRegistrar.class) @Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface RibbonClient
@Configuration and then inject a SpringClientFactory to access the
client that is created.| Modifier and Type | Optional Element and Description |
|---|---|
Class<?>[] |
configuration
A custom
@Configuration for the ribbon client. |
String |
name
The name of the ribbon client, uniquely identifying a set of client resources,
including a load balancer.
|
String |
value
Synonym for name (the name of the client).
|
public abstract String name
public abstract Class<?>[] configuration
@Configuration for the ribbon client. Can contain override
@Bean definition for the pieces that make up the client, for instance
ILoadBalancer, ServerListFilter, IRule.for the defaultsCopyright © 2021 Pivotal Software, Inc.. All rights reserved.