Class SmoSearchBackendImpl
java.lang.Object
org.apache.maven.search.api.support.SearchBackendSupport
org.apache.maven.search.backend.smo.internal.SmoSearchBackendImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.maven.search.api.SearchBackend
,org.apache.maven.search.api.SearchEngine
,SmoSearchBackend
public class SmoSearchBackendImpl
extends org.apache.maven.search.api.support.SearchBackendSupport
implements SmoSearchBackend
-
Constructor Summary
ConstructorDescriptionSmoSearchBackendImpl
(String backendId, String repositoryId, String smoUri, org.apache.maven.search.api.transport.Transport transport) Creates a customized instance of SMO backend, like an in-house instances of SMO or different IDs. -
Method Summary
Modifier and TypeMethodDescriptionReturns the base "service URI" that is used by this SMO backend.search
(org.apache.maven.search.api.SearchRequest searchRequest) Methods inherited from class org.apache.maven.search.api.support.SearchBackendSupport
close, getBackendId, getRepositoryId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.search.api.SearchBackend
getBackendId, getRepositoryId
-
Constructor Details
-
Method Details
-
getSmoUri
Description copied from interface:SmoSearchBackend
Returns the base "service URI" that is used by this SMO backend. nevernull
.- Specified by:
getSmoUri
in interfaceSmoSearchBackend
-
search
public SmoSearchResponse search(org.apache.maven.search.api.SearchRequest searchRequest) throws IOException - Specified by:
search
in interfaceorg.apache.maven.search.api.SearchEngine
- Specified by:
search
in interfaceSmoSearchBackend
- Throws:
IOException
-