Class Naming

    • Method Detail

      • registerConsumer

        public void registerConsumer​(NamingConsumer consumer)
        This method register the consumer in the service.
        Specified by:
        registerConsumer in class Service<NamingConsumer>
        Parameters:
        consumer - Object with the logic to consume the service.
        Throws:
        java.lang.RuntimeException - It contains exceptions generated by the particular logic of each implementation.
      • addNamingConsumer

        public static void addNamingConsumer​(NamingConsumer consumer)
        Add a new consumer into the service.
        Parameters:
        consumer - Naming consumer.
      • normalize

        public static java.lang.String normalize​(java.lang.String implName,
                                                 java.lang.String value)
        Normalize the value using the specific naming implementation.
        Parameters:
        implName - Implementation name.
        value - Value to normalize.
        Returns:
        Normalized value.