com.pow2.resources
Class ConnectionFactoryInit

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.pow2.resources.InitServlet
              extended bycom.pow2.resources.ConnectionFactoryInit
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ConnectionFactoryInit
extends InitServlet

ConnectionFactory init servlet.
Configure and initialize the ConnectionFactory object defining the following servlet into the web.xml file of your web-application.

  <servlet>
    <servlet-name>connectionFactory-init</servlet-name>
    <servlet-class>com.pow2.resources.ConnectionFactoryInit</servlet-class>

    <load-on-startup>2</load-on-startup>
  </servlet>
  
Note: this servlet should be loaded
after
the Pow2ToolkitInit servlet.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.pow2.resources.InitServlet
cat
 
Constructor Summary
ConnectionFactoryInit()
           
 
Method Summary
 void init()
          Initialize the ConnectionFactory object.
 
Methods inherited from class com.pow2.resources.InitServlet
getInitParameterFilePath
 
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
 

Constructor Detail

ConnectionFactoryInit

public ConnectionFactoryInit()
Method Detail

init

public void init()
          throws ServletException
Initialize the ConnectionFactory object.

Throws:
ServletException


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.