Class NameDiscoverers

    • Constructor Detail

      • NameDiscoverers

        public NameDiscoverers()
        Construct a new resource name discoverer
    • Method Detail

      • setLog

        @Deprecated
        public static void setLog​(org.apache.commons.logging.Log _log)
        Deprecated.
        This method is not thread-safe
        Sets the Log for this class.
        Parameters:
        _log - This class Log
      • addResourceNameDiscover

        public void addResourceNameDiscover​(ResourceNameDiscover discover)
        Specify an discover to be used in searching. The order of discover determines the order of the result. It is recommended to add the most specific discover first.
        Parameters:
        discover - The discover to be added
      • getResourceNameDiscover

        protected ResourceNameDiscover getResourceNameDiscover​(int idx)
        Retrieve the discover positioned at the given index.
        Parameters:
        idx - The discover index position client is requiring
        Returns:
        The discover positioned at the input index
      • size

        protected int size()
        Returns the current size of set discovers.
        Returns:
        The current size of set discovers