Class DefaultCompositeDiscoveryClient

java.lang.Object
io.micronaut.discovery.CompositeDiscoveryClient
io.micronaut.discovery.DefaultCompositeDiscoveryClient
All Implemented Interfaces:
Described, DiscoveryClient, Closeable, AutoCloseable

@Primary @Singleton public class DefaultCompositeDiscoveryClient extends CompositeDiscoveryClient
The default CompositeDiscoveryClient that is activated when caching is disabled.
Since:
1.0
Author:
Graeme Rocher
  • Constructor Details

    • DefaultCompositeDiscoveryClient

      @Inject public DefaultCompositeDiscoveryClient(List<DiscoveryClient> discoveryClients)
      Create a default composite discovery for the discovery clients.
      Parameters:
      discoveryClients - The Discovery clients used for service discovery
    • DefaultCompositeDiscoveryClient

      public DefaultCompositeDiscoveryClient(DiscoveryClient... discoveryClients)
      Create a default composite discovery for the discovery clients.
      Parameters:
      discoveryClients - The Discovery clients used for service discovery