Class SmoSearchBackendImpl

java.lang.Object
org.apache.maven.search.support.SearchBackendSupport
org.apache.maven.search.backend.smo.internal.SmoSearchBackendImpl
All Implemented Interfaces:
Closeable, AutoCloseable, SmoSearchBackend, org.apache.maven.search.SearchBackend, org.apache.maven.search.SearchEngine

public class SmoSearchBackendImpl extends org.apache.maven.search.support.SearchBackendSupport implements SmoSearchBackend
  • Field Details

  • Constructor Details

    • SmoSearchBackendImpl

      public SmoSearchBackendImpl()
      Creates a "default" instance of SMO backend against DEFAULT_SMO_URI.
    • SmoSearchBackendImpl

      public SmoSearchBackendImpl(String backendId, String repositoryId, String smoUri, SmoSearchTransportSupport transportSupport)
      Creates a customized instance of SMO backend, like an in-house instances of SMO or different IDs.
  • Method Details

    • getSmoUri

      public String getSmoUri()
      Description copied from interface: SmoSearchBackend
      Returns the base "service URI" that is used by this SMO backend. never null.
      Specified by:
      getSmoUri in interface SmoSearchBackend
    • search

      public SmoSearchResponse search(org.apache.maven.search.SearchRequest searchRequest) throws IOException
      Specified by:
      search in interface org.apache.maven.search.SearchEngine
      Throws:
      IOException