org.kuali.student.common.search.service.impl
Class SearchDispatcherImpl

java.lang.Object
  extended by org.kuali.student.common.search.service.impl.SearchDispatcherImpl
All Implemented Interfaces:
SearchDispatcher

public class SearchDispatcherImpl
extends Object
implements SearchDispatcher


Field Summary
(package private)  Logger LOG
           
private  Map<String,SearchService> serviceMap
           
private  List<SearchService> services
           
 
Constructor Summary
SearchDispatcherImpl()
           
SearchDispatcherImpl(SearchService... services)
           
 
Method Summary
 SearchResult dispatchSearch(SearchRequest searchRequest)
          Delegates to the service responsible for the given search type key
 void init()
           
 void setServices(List<SearchService> services)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

final Logger LOG

services

private List<SearchService> services

serviceMap

private Map<String,SearchService> serviceMap
Constructor Detail

SearchDispatcherImpl

public SearchDispatcherImpl()

SearchDispatcherImpl

public SearchDispatcherImpl(SearchService... services)
Method Detail

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.