Class RegistrationManager
- java.lang.Object
-
- org.kiwiproject.registry.management.RegistrationManager
-
public class RegistrationManager extends Object
Manager to register and unregister a service. This class can be used in a stand-alone manner or by adding it to a lifecycle listener for the service.
-
-
Constructor Summary
Constructors Constructor Description RegistrationManager(ServiceInfo serviceInfo, RegistryService registryService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start()
Creates a candidate instance for registration and sends a request to register the instance with the registry server.void
stop()
Triggers the de-registration of the service from the registry server.
-
-
-
Constructor Detail
-
RegistrationManager
public RegistrationManager(ServiceInfo serviceInfo, RegistryService registryService)
-
-