Interface ObjectIdDiscoverer<T>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  ObjectIdDiscoverer.Context
      Context providing runtime information for the discoverer.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Closes this discoverer and releases any resources.
      Set<T> discover()
      Discovers and returns the complete current set of object identifiers selected by the caller configuration.
      void open​(ObjectIdDiscoverer.Context context)
      Opens this discoverer and initializes any resources needed for discovery.
    • Method Detail

      • discover

        Set<T> discover()
                 throws Exception
        Discovers and returns the complete current set of object identifiers selected by the caller configuration.

        A successful result is authoritative: identifiers absent from it are no longer selected, and an empty result selects no identifiers. A failed discovery does not describe a new set.

        Throws:
        Exception