com.vinay.ui.vinui.fw.core
Class AppInit
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.vinay.ui.vinui.fw.core.AppInit
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public abstract class AppInit
- extends javax.servlet.http.HttpServlet
Framework servlet that loads the application of type Application.
Applications should derive from this class and implement the getAppClass()
method that returns the qualified class name of the application
- Author:
- Vinay Nath
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected abstract java.lang.String |
getAppClass()
Returns the full class name of the application. |
void |
init(javax.servlet.ServletConfig cfg)
|
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 |
AppInit
public AppInit()
init
public void init(javax.servlet.ServletConfig cfg)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
getAppClass
protected abstract java.lang.String getAppClass()
- Returns the full class name of the application.
Each application should provide an implementation of this method
- Returns:
- the full class name of the application