Class NamingConsumer

  • All Implemented Interfaces:
    ServiceConsumer

    public abstract class NamingConsumer
    extends java.lang.Object
    implements ServiceConsumer
    Naming service consumer base class.
    Author:
    javaito
    • Constructor Summary

      Constructors 
      Constructor Description
      NamingConsumer​(java.lang.String name)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getName()
      Return the name of the consumer.
      abstract java.lang.String normalize​(java.lang.String value)
      Normalize the specific value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NamingConsumer

        public NamingConsumer​(java.lang.String name)
    • Method Detail

      • getName

        public final java.lang.String getName()
        Return the name of the consumer.
        Returns:
        Name of the consumer.
      • normalize

        public abstract java.lang.String normalize​(java.lang.String value)
        Normalize the specific value.
        Parameters:
        value - Value to normalize.
        Returns:
        Normalized value.