Interface RegistryConnector

All Known Implementing Classes:
DebugRegistryConnector, DistributemeRegistryConnector

public interface RegistryConnector
Interface to allow multiple registry implementations and appropriate connectors.
  • Method Details

    • describeRegistry

      String describeRegistry()
    • bind

      boolean bind(ServiceDescriptor service)
      Bind a service at the registry.
      Parameters:
      service -
      Returns:
    • notifyBind

      boolean notifyBind(Location location, ServiceDescriptor descriptor)
    • notifyUnbind

      boolean notifyUnbind(Location location, ServiceDescriptor descriptor)
    • unbind

      boolean unbind(ServiceDescriptor service)
      Unbind a service from the registry.
      Parameters:
      service -
      Returns:
    • resolve

      ServiceDescriptor resolve(ServiceDescriptor toResolve, Location loc)
      Resolve a service in the registry.
      Parameters:
      toResolve -
      loc -
      Returns:
    • setTagableSystemProperties

      void setTagableSystemProperties(Map<String,String> tagableSystemProperties)
      Set tagable system properties (only Consul).
      Parameters:
      tagableSystemProperties -
    • setCustomTagProviderClassList

      void setCustomTagProviderClassList(List<String> customTagProviderClassList)
      Set custom tag provider class list (only Consul).
      Parameters:
      customTagProviderClassList -