org.opencrx.kernel.workflow.servlet
Class IndexerServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opencrx.kernel.workflow.servlet.IndexerServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class IndexerServlet
extends HttpServlet

The IndexerServlet 'listens' for object modifications on incoming audit entries. Modified objects are indexed.

See Also:
Serialized Form

Constructor Summary
IndexerServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest req, HttpServletResponse res)
           
protected  void doPost(HttpServletRequest req, HttpServletResponse res)
           
protected  void handleRequest(HttpServletRequest req, HttpServletResponse res)
           
 void init(ServletConfig config)
           
 void updateIndex(String id, String providerName, String segmentName, HttpServletRequest req, HttpServletResponse res)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexerServlet

public IndexerServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

updateIndex

public void updateIndex(String id,
                        String providerName,
                        String segmentName,
                        HttpServletRequest req,
                        HttpServletResponse res)
                 throws IOException
Throws:
IOException

handleRequest

protected void handleRequest(HttpServletRequest req,
                             HttpServletResponse res)
                      throws ServletException,
                             IOException
Throws:
ServletException
IOException

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse res)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

doPost

protected void doPost(HttpServletRequest req,
                      HttpServletResponse res)
               throws ServletException,
                      IOException
Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.