Annotation Interface LoadBalancerClient
@Configuration(proxyBeanMethods=false)
@Import(LoadBalancerClientConfigurationRegistrar.class)
@Target(TYPE)
@Retention(RUNTIME)
@Documented
public @interface LoadBalancerClient
Declarative configuration for a load balancer client. Add this annotation to any
@Configuration and then inject a LoadBalancerClientFactory to
access the client that is created.- Author:
- Dave Syer
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?>[]A custom@Configurationfor the load balancer client.The name of the load balancer client, uniquely identifying a set of client resources, including a load balancer.Synonym for name (the name of the client).
-
Element Details
-
value
Synonym for name (the name of the client).- Returns:
- the name of the load balancer client
- See Also:
- Default:
""
-
name
The name of the load balancer client, uniquely identifying a set of client resources, including a load balancer.- Returns:
- the name of the load balancer client
- Default:
""
-
configuration
Class<?>[] configurationA custom@Configurationfor the load balancer client. Can contain override@Beandefinition for the pieces that make up the client.- Returns:
- configuration classes for the load balancer client.
- See Also:
- Default:
{}
-