Interface ServiceDiscovery


public interface ServiceDiscovery
Access to discovered service metadata.
  • Field Details

  • Method Details

    • create

      static ServiceDiscovery create()
      Create a new instance that discovers service descriptors from classpath.
      Returns:
      service discovery based on classpath
    • create

      static ServiceDiscovery create(ServiceRegistryConfig config)
      Create a new instance that discovers service descriptors based on the configuration.
      Parameters:
      config - registry configuration to control discovery
      Returns:
      service discovery based on classpath
    • noop

      static ServiceDiscovery noop()
      Service discovery that does not discover anything.
      Returns:
      a no-op service discovery
    • allMetadata

      List<DescriptorHandler> allMetadata()
      All discovered metadata of this service discovery.
      Returns:
      all discovered metadata