Esri Geoportal Server
1.0

com.esri.gpt.control.rest.search
Class DistributedAdpSearchPageWriter

java.lang.Object
  extended by com.esri.gpt.control.rest.search.DistributedAdpSearchPageWriter
All Implemented Interfaces:
ISearchListener, EventListener

public class DistributedAdpSearchPageWriter
extends Object
implements ISearchListener

The Class SearchPageDistributedAdp.


Constructor Summary
DistributedAdpSearchPageWriter()
           
 
Method Summary
 HttpServletRequest getServletRequest()
          Gets the servlet request.
 HttpServletResponse getServletResponse()
          Gets the servlet response.
 void initBeforeSearch()
          Instantiates a new search page distributed adp.
 void searchDone()
          Signals all threads are done processing.
 void searchEvent(DistributedSearchEvent event)
          On search thread complete.
 void setMessageBroker(MessageBroker messageBroker)
          The messageBroker
 void setServletRequest(HttpServletRequest servletRequest)
          Sets the servlet request.
 void setServletResponse(HttpServletResponse servletResponse)
          Sets the servlet response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedAdpSearchPageWriter

public DistributedAdpSearchPageWriter()
Method Detail

setMessageBroker

public void setMessageBroker(MessageBroker messageBroker)
The messageBroker

Specified by:
setMessageBroker in interface ISearchListener
Parameters:
messageBroker -

getServletRequest

public HttpServletRequest getServletRequest()
Gets the servlet request.

Returns:
the servlet request

setServletRequest

public void setServletRequest(HttpServletRequest servletRequest)
Sets the servlet request.

Specified by:
setServletRequest in interface ISearchListener
Parameters:
servletRequest - the new servlet request

getServletResponse

public HttpServletResponse getServletResponse()
Gets the servlet response.

Returns:
the servlet response

setServletResponse

public void setServletResponse(HttpServletResponse servletResponse)
Sets the servlet response.

Specified by:
setServletResponse in interface ISearchListener
Parameters:
servletResponse - the new servlet response

initBeforeSearch

public void initBeforeSearch()
                      throws IOException
Instantiates a new search page distributed adp.

Specified by:
initBeforeSearch in interface ISearchListener
Throws:
IOException

searchEvent

public void searchEvent(DistributedSearchEvent event)
On search thread complete.

Specified by:
searchEvent in interface ISearchListener
Parameters:
event - the event
See Also:
ISearchListener.searchEvent(com.esri.gpt.control.rest.search.DistributedSearchEvent)

searchDone

public void searchDone()
Signals all threads are done processing.

Specified by:
searchDone in interface ISearchListener
See Also:
ISearchListener.searchDone()

Esri Geoportal Server
1.0

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