Interface RegistrationNameProvider

All Known Implementing Classes:
Failover, FailoverAndReturn, FailoverAndReturnInAMinute, FailoverAndReturnInTenSeconds, FailoverAndReturnWithConfigurableBlacklisting, PropertyBasedRegistrationNameProvider

public interface RegistrationNameProvider
Describes a registration name provider which defines the name useable for registration.
Version:
$Id: $Id
Author:
lrosenberg
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(String parameter)
    Called shortly after the initialization to customize this registration name provider according to the parameter in the annotation.
    Returns the registration name for this service instance.
  • Method Details

    • getRegistrationName

      String getRegistrationName(String serviceId)
      Returns the registration name for this service instance.
      Parameters:
      serviceId - a String object.
      Returns:
      a String object.
    • customize

      void customize(String parameter)
      Called shortly after the initialization to customize this registration name provider according to the parameter in the annotation.
      Parameters:
      parameter - a String object.