org.exist.http.servlets
Class Log4jInit

java.lang.Object
  extended byHttpServlet
      extended byorg.exist.http.servlets.Log4jInit

public class Log4jInit
extends HttpServlet

Helper servlet for initializing the log4j framework in a webcontainer.

See Also:
Serialized Form

Constructor Summary
Log4jInit()
           
 
Method Summary
 void doGet(HttpServletRequest req, HttpServletResponse res)
          Empty method.
 void init()
          Initialize servlet for log4j purposes in servlet container (war file).
 boolean isInWarFile()
          Check wether exist runs in Servlet container (as war file).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jInit

public Log4jInit()
Method Detail

init

public void init()
          throws ServletException
Initialize servlet for log4j purposes in servlet container (war file).

Throws:
ServletException

isInWarFile

public boolean isInWarFile()
Check wether exist runs in Servlet container (as war file).

Returns:
TRUE if exist runs in servlet container.

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse res)
Empty method.

Parameters:
req - HTTP Request object
res - HTTP Response object


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.