com.supermap.services.components.spi

Class ServiceDiscovery

  • java.lang.Object
    • com.supermap.services.components.spi.ServiceDiscovery


  • public final class ServiceDiscovery
    extends java.lang.Object
    

    Title: Service Configuration Information Object Finder.

    Description: Find different configuration objects based on different types and directories

    • Constructor Summary

      Constructors 
      Constructor and Description
      ServiceDiscovery() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      <T> java.util.List<T> discover(Resolver<T> resolver, java.lang.String resDir)
      Identifies all configuration objects contained in the corresponding directory based on the Identifier and Resource Catalog.
      • Methods inherited from class java.lang.Object

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

      • ServiceDiscovery

        public ServiceDiscovery()
        
    • Method Detail

      • discover

        public <T> java.util.List<T> discover(Resolver<T> resolver,
                                     java.lang.String resDir)
        

        Identifies all configuration objects contained in the corresponding directory based on the Identifier and Resource Catalog.

        Parameters:
        resolver - Object identifier.
        resDir - Resource catalog.
        Returns:
        Configuration information list.