com.facetmap.servlet
Class ConfigurationServlet

java.lang.Object
  extended by HttpServlet
      extended by com.facetmap.servlet.ConfigurationServlet

public class ConfigurationServlet
extends HttpServlet

Supports web-based configuration of the facetmap engine. Although FacetmapServlet knows how to configure itself, this servlet enables servlet requests to provide configuration properties and reload the facetmap data using the new configuration.


Field Summary
protected  FacetmapServlet facetmapServlet
           
 
Constructor Summary
ConfigurationServlet(FacetmapServlet facetmapServlet)
           
 
Method Summary
 void configure(HttpServletRequest request, HttpServletResponse response)
           
 com.facetmap.servlet.PropertiesPersister createWriteablePersister(ServletContext context)
           
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

facetmapServlet

protected FacetmapServlet facetmapServlet
Constructor Detail

ConfigurationServlet

public ConfigurationServlet(FacetmapServlet facetmapServlet)
Method Detail

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     java.io.IOException
Throws:
ServletException
java.io.IOException

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      java.io.IOException
Throws:
ServletException
java.io.IOException

configure

public void configure(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      java.io.IOException
Throws:
ServletException
java.io.IOException

createWriteablePersister

public com.facetmap.servlet.PropertiesPersister createWriteablePersister(ServletContext context)