com.supermap.services.components.impl

Class DatasourceNameSelector

  • java.lang.Object
    • com.supermap.services.components.impl.DatasourceNameSelector
  • All Implemented Interfaces:
    ProviderSelector


    public class DatasourceNameSelector
    extends java.lang.Object
    implements ProviderSelector
    

    Data source name selector.

    The data name can determine whether a data service provider meets the criteria.

    • Constructor Summary

      Constructors 
      Constructor and Description
      DatasourceNameSelector(java.lang.String name)
      Builds a data source name selector according to the data source name.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean select(java.lang.Object object)
      Select the specified object
      • Methods inherited from class java.lang.Object

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

      • DatasourceNameSelector

        public DatasourceNameSelector(java.lang.String name)
        

        Builds a data source name selector according to the data source name.

        Parameters:
        name - Data source name
    • Method Detail

      • select

        public boolean select(java.lang.Object object)
        

        Select the specified object

        Specified by:
        select in interface ProviderSelector
        Parameters:
        object - Specify the object
        Returns:
        False that does not meet the conditions, is filtered out; true that meet the conditions, was selected.