Class ByName

  • All Implemented Interfaces:
    CustomLocator

    @AutoService(CustomLocator.class)
    public class ByName
    extends java.lang.Object
    implements CustomLocator
    A class implementing {link @CustomLocator} and to be used as a fallback locator on the server side.
    • Constructor Summary

      Constructors 
      Constructor Description
      ByName()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      By createBy​(java.lang.Object usingParameter)  
      java.lang.String getLocatorName()  
      • Methods inherited from class java.lang.Object

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

      • ByName

        public ByName()
    • Method Detail

      • getLocatorName

        public java.lang.String getLocatorName()
        Specified by:
        getLocatorName in interface CustomLocator
        Returns:
        The locator name, which is the value of the using property of the JSON payload.
      • createBy

        public By createBy​(java.lang.Object usingParameter)
        Specified by:
        createBy in interface CustomLocator