Esri Geoportal Server
1.0

com.esri.gpt.control.rest.search
Interface ISearchListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
DistributedAdpAtomSearchPageWriter, DistributedAdpHtmlWriter, DistributedAdpSearchPageWriter

public interface ISearchListener
extends EventListener

Interface for a search thread listener.


Method Summary
 void initBeforeSearch()
          Called before a search to do some initializations.
 void searchDone()
          All threads done.
 void searchEvent(DistributedSearchEvent event)
          Fired when a search thread has an event to fire.
 void setMessageBroker(MessageBroker messageBroker)
          Sets the message broker.
 void setServletRequest(HttpServletRequest request)
          Sets the servlet request.
 void setServletResponse(HttpServletResponse response)
          Sets the servlet respone.
 

Method Detail

setServletRequest

void setServletRequest(HttpServletRequest request)
Sets the servlet request.

Parameters:
request - the new servlet request

setServletResponse

void setServletResponse(HttpServletResponse response)
Sets the servlet respone.

Parameters:
response - the new servlet respone

searchEvent

void searchEvent(DistributedSearchEvent event)
                 throws Exception
Fired when a search thread has an event to fire.

Parameters:
event - the event
Throws:
Exception - the exception

searchDone

void searchDone()
                throws Exception
All threads done.

Throws:
Exception - the exception

setMessageBroker

void setMessageBroker(MessageBroker messageBroker)
Sets the message broker.

Parameters:
messageBroker - the new message broker

initBeforeSearch

void initBeforeSearch()
                      throws Exception
Called before a search to do some initializations.

Throws:
Exception - the exception

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.