@Service public class SearchService extends Object
Constructor and Description |
---|
SearchService(FilterBuilder filterBuilder,
SearchController searchController)
Creates a new SearchService
|
Modifier and Type | Method and Description |
---|---|
void |
executeQuery(Map<String,Object> queryMessage,
Subject subject)
Creates the query requests for each source and hands off the query to the Search Controller
|
void |
processQuery(org.cometd.bayeux.server.ServerSession remote,
org.cometd.bayeux.Message message)
Service method called by Cometd when something arrives on the service channel
|
public SearchService(FilterBuilder filterBuilder, SearchController searchController)
filterBuilder
- FilterBuilder to use for queriessearchController
- SearchController to handle async queries@Listener(value="/service/query") public void processQuery(org.cometd.bayeux.server.ServerSession remote, org.cometd.bayeux.Message message)
remote
- Client sessionmessage
- JSON messageThis work is licensed under a Creative Commons Attribution 4.0 International License.