org.kuali.student.common.search.service.impl
Class SearchDispatcherImpl
java.lang.Object
org.kuali.student.common.search.service.impl.SearchDispatcherImpl
- All Implemented Interfaces:
- SearchDispatcher
public class SearchDispatcherImpl
- extends Object
- implements SearchDispatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
final Logger LOG
services
private List<SearchService> services
serviceMap
private Map<String,SearchService> serviceMap
SearchDispatcherImpl
public SearchDispatcherImpl()
SearchDispatcherImpl
public SearchDispatcherImpl(SearchService... services)
init
public void init()
dispatchSearch
public SearchResult dispatchSearch(SearchRequest searchRequest)
- Delegates to the service responsible for the given search type key
- Specified by:
dispatchSearch
in interface SearchDispatcher
- Parameters:
searchRequest
-
- Returns:
- The searchResult from the delegated search or null
setServices
public void setServices(List<SearchService> services)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.