Class ReloadingServiceRegistry

All Implemented Interfaces:
ServiceRegistry, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

public class ReloadingServiceRegistry
extends AbstractIdentifiableInitializableComponent
implements ServiceRegistry
Service registry wrapper around a ReloadableService.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • service

      private final ReloadableService<ServiceRegistry> service
      The service that manages the reloading.
  • Constructor Details

  • Method Details

    • lookup

      @Nullable public Service lookup​(@Nonnull String serviceURL)
      Description copied from interface: ServiceRegistry
      Looks up a service entry from a service URL.
      Specified by:
      lookup in interface ServiceRegistry
      Parameters:
      serviceURL - Non-null CAS service URL.
      Returns:
      Service found in registry or null if no match found.