Esri Geoportal Server
1.0

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

java.lang.Object
  extended by com.esri.gpt.control.rest.search.DistributedSearchDispatcher

public class DistributedSearchDispatcher
extends Object

The Class DistributedSearch.


Constructor Summary
DistributedSearchDispatcher()
          Default constructor.
 
Method Summary
 void addActionListener(ISearchListener listener)
          Adds the action listener.
 SearchContext getSearchContext()
          Gets the search context.
static void main(String[] args)
          Main unit test method.
 void removeActionListener(ISearchListener listener)
          Removes the action listener.
 void search()
          Searches the endpoints.
 void setSearchContext(SearchContext searchContext)
          Sets the search context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedSearchDispatcher

public DistributedSearchDispatcher()
Default constructor.

Method Detail

main

public static void main(String[] args)
Main unit test method.

Parameters:
args - startup arguments

getSearchContext

public SearchContext getSearchContext()
Gets the search context.

Returns:
the search context

setSearchContext

public void setSearchContext(SearchContext searchContext)
Sets the search context.

Parameters:
searchContext - the search context

addActionListener

public void addActionListener(ISearchListener listener)
Adds the action listener.

Parameters:
listener - the listener

removeActionListener

public void removeActionListener(ISearchListener listener)
Removes the action listener.

Parameters:
listener - the listener

search

public void search()
            throws Exception
Searches the endpoints.

Throws:
Exception - the exception

Esri Geoportal Server
1.0

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