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 Summary
Modifier and TypeMethodDescription@NotNull List
<ReplicaRegistry> Get all currently registered service instances.void
register
(@NotNull LocationReplicaRegistration registration) Registers a new service instance with their particular lifecycle endpoints.void
unregister
(@NotNull LocationReplicaRegistration registration) Unregisters a service instance.
-
Method Details
-
register
Registers a new service instance with their particular lifecycle endpoints.- Parameters:
registration
- Contains all required registration information
-
unregister
Unregisters a service instance.- Parameters:
registration
- Contains all required information to unregister
-
getAllRegistered
Get all currently registered service instances.- Returns:
- A list of registrations
-