|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet de.mindmatters.faces.spring.context.ContextLoaderServlet
Bootstrap servlet to start up faces' root WebApplicationContext. Simply delegates to ContextLoader.
This servlet should have a lower load-on-startup value in web.xml than any servlets that access the faces root web application context.
This servlet must have a lower load-on-startup value in web.xml than the
FacesServlet
.
Note that this class has been deprecated for containers implementing
Servlet API 2.4 or higher, in favor of ContextLoaderListener.
For further information see
ContextLoaderServlet
.
ContextLoader
,
ContextLoaderListener
,
Serialized FormConstructor Summary | |
ContextLoaderServlet()
|
Method Summary | |
protected ContextLoader |
createContextLoader()
Creates the ContextLoader to use. |
void |
destroy()
Closes the faces root web application context. |
java.lang.String |
getServletInfo()
|
void |
init()
Initializes the faces root web application context. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This should never even be called since no mapping to this servlet should ever be created in web.xml. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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 |
Constructor Detail |
public ContextLoaderServlet()
Method Detail |
protected ContextLoader createContextLoader()
public final void init() throws javax.servlet.ServletException
javax.servlet.ServletException
- in cases of errorsGenericServlet.init()
public final void destroy()
Servlet.destroy()
public final void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
request
- the requestresponse
- the response
java.io.IOException
- in cases of i/o errors#service(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
public final java.lang.String getServletInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |