Class RegistrationManager
java.lang.Object
org.kiwiproject.registry.management.RegistrationManager
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
ConstructorDescriptionRegistrationManager
(ServiceInfo serviceInfo, RegistryService registryService) -
Method Summary
-
Constructor Details
-
RegistrationManager
-
-
Method Details
-
start
public void start()Creates a candidate instance for registration and sends a request to register the instance with the registry server. -
stop
public void stop()Triggers the de-registration of the service from the registry server. -
getServiceInfo
-