Interface RegistrationService

All Known Implementing Classes:
RegistrationServiceImpl

public interface RegistrationService
A RegistrationService is responsible to manage registrations of foreign services that participate in the lifecycle of Locations and LocationGroups.
Author:
Heiko Scherrer
  • Method Details

    • register

      void register(@NotNull @NotNull LocationReplicaRegistration registration)
      Registers a new service instance with their particular lifecycle endpoints.
      Parameters:
      registration - Contains all required registration information
    • unregister

      void unregister(@NotNull @NotNull LocationReplicaRegistration registration)
      Unregisters a service instance.
      Parameters:
      registration - Contains all required information to unregister
    • getAllRegistered

      @NotNull @NotNull List<ReplicaRegistry> getAllRegistered()
      Get all currently registered service instances.
      Returns:
      A list of registrations