no.sesat.search.run
Class QueryFactoryImpl

java.lang.Object
  extended by no.sesat.search.run.QueryFactory
      extended by no.sesat.search.run.QueryFactoryImpl

public final class QueryFactoryImpl
extends QueryFactory

QueryFactoryImpl is part of no.sesat.search.query. Use this class to create an instance of a RunningQuery.

TODO Instantiate a RunningQuery specified in the mode. With default as RunningQueryImpl.

Version:
$Id: QueryFactoryImpl.java 7225 2009-04-09 00:32:20Z ssmiweve $

Constructor Summary
QueryFactoryImpl()
           
 
Method Summary
 RunningQuery createQuery(RunningQuery.Context cxt, HttpServletRequest request, HttpServletResponse response)
          Create a new instance of running query.
 
Methods inherited from class no.sesat.search.run.QueryFactory
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryFactoryImpl

public QueryFactoryImpl()
Method Detail

createQuery

public RunningQuery createQuery(RunningQuery.Context cxt,
                                HttpServletRequest request,
                                HttpServletResponse response)
                         throws SiteKeyedFactoryInstantiationException
Create a new instance of running query. The implementation can be RunningWebQuery for example.

Specified by:
createQuery in class QueryFactory
Parameters:
cxt -
request - with parameters populated with search params
Returns:
instance of RunningQuery
Throws:
SiteKeyedFactoryInstantiationException


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.