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 Details

  • 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

      public ServiceInfo getServiceInfo()