com.pow2.webgui.resources
Class WebGuiInit

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.pow2.webgui.resources.WebGuiInit
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class WebGuiInit
extends HttpServlet

webGui init servlet.
Register into the WidgetFactory all the prototype widgets specified into the webGui-init-file.
This servlet SHOULD start after the log4j initialization servlet (see com.pow2.resources.Log4jInit for further details).
Define the following servlet in the web.xml file for your web-application.
webGui-init com.pow2.webgui.resources.WebGuiInit webGui.prototypes.properties WEB-INF/wgPrototypes.properties webGui.velocity.properties WEB-INF/velocity.properties 2

Author:
Luca Fossato
See Also:
Serialized Form

Field Summary
protected  org.apache.log4j.Category cat
           
 
Constructor Summary
WebGuiInit()
           
 
Method Summary
 void init()
          Initialize this servlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, 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
 

Field Detail

cat

protected org.apache.log4j.Category cat
Constructor Detail

WebGuiInit

public WebGuiInit()
Method Detail

init

public void init()
          throws ServletException
Initialize this servlet.
Register into the WidgetFactory all the prototype widgets specified into the webGui-init-file.

Overrides:
init in class GenericServlet
Throws:
ServletException


Copyright © 2002-2005 Power Of Two S.r.l. All Rights Reserved.