Weaver 3.1.0a1-D1

com.oldlight.weaver.initservlet
Class WeaverInitServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.oldlight.weaver.initservlet.WeaverInitServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class WeaverInitServlet
extends HttpServlet

See Also:
Serialized Form

Field Summary
private static String CONFIG_DIRECTORY
           
private static String CONFIG_FILE
           
private static Logger l
           
private  Exception notOKReason
           
private  Properties p
           
private static String PROPERTY_ASSERTS_ON
           
private static String PROPERTY_TO_SET
           
private static String PROPERTY_UPLOAD_DIR
           
private static WeaverDomComponentBuilderRegistry registry
           
private static String TAG_MAP_FILE
           
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
WeaverInitServlet()
           
 
Method Summary
protected  void clientInit()
           
 void destroy()
           
 void doGet(HttpServletRequest the_request, HttpServletResponse the_response)
          Called by the servlet engine to handle a HTTP get.
 void doGetPost(HttpServletRequest theRequest, HttpServletResponse theResponse)
           
 void doPost(HttpServletRequest the_request, HttpServletResponse the_response)
          Called by the servlet engine to handle a HTTP post
private  void fixFileProperties(Properties properties)
           
static WeaverDomComponentBuilderRegistry getComponentBuilderRegistry()
           
 String getServletInfo()
           
 void init()
           
private  void logSystemProperties()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_TO_SET

private static final String PROPERTY_TO_SET
See Also:
Constant Field Values

PROPERTY_ASSERTS_ON

private static final String PROPERTY_ASSERTS_ON
See Also:
Constant Field Values

PROPERTY_UPLOAD_DIR

private static final String PROPERTY_UPLOAD_DIR
See Also:
Constant Field Values

CONFIG_DIRECTORY

private static final String CONFIG_DIRECTORY
See Also:
Constant Field Values

CONFIG_FILE

private static final String CONFIG_FILE
See Also:
Constant Field Values

TAG_MAP_FILE

private static final String TAG_MAP_FILE
See Also:
Constant Field Values

l

private static Logger l

registry

private static WeaverDomComponentBuilderRegistry registry

p

private Properties p

notOKReason

private Exception notOKReason
Constructor Detail

WeaverInitServlet

public WeaverInitServlet()
Method Detail

getComponentBuilderRegistry

public static WeaverDomComponentBuilderRegistry getComponentBuilderRegistry()

fixFileProperties

private void fixFileProperties(Properties properties)

init

public void init()
          throws ServletException
Throws:
ServletException

doGet

public void doGet(HttpServletRequest the_request,
                  HttpServletResponse the_response)
           throws ServletException
Called by the servlet engine to handle a HTTP get.

Parameters:
the_request - The request object.
the_response - The response object.
Throws:
ServletException

doPost

public void doPost(HttpServletRequest the_request,
                   HttpServletResponse the_response)
            throws ServletException
Called by the servlet engine to handle a HTTP post

Parameters:
the_request - The request object.
the_response - The response object.
Throws:
ServletException

doGetPost

public void doGetPost(HttpServletRequest theRequest,
                      HttpServletResponse theResponse)
               throws ServletException
Throws:
ServletException

destroy

public void destroy()

logSystemProperties

private void logSystemProperties()

clientInit

protected void clientInit()
                   throws WeaverException
Throws:
WeaverException

getServletInfo

public String getServletInfo()

Copyright ©Paul Harvey