public interface SearchResultsHandler extends ResultsHandler
A search result completion handler may be specified when performing search
requests using a
ResultsHandler.handle(org.identityconnectors.framework.common.objects.ConnectorObject) method is invoked each time a matching
resource is returned, followed by
handleResult(org.identityconnectors.framework.common.objects.SearchResult) indicating that no
more ConnectorObject resources will be returned.
Implementations of these methods should complete in a timely manner so as to avoid keeping the invoking thread from dispatching to other completion handlers.
void handleResult(SearchResult result)
result- The query result indicating that no more resources are to be returned and, if applicable, including information which should be used for subsequent paged results query requests.
Copyright © 2017. All rights reserved.