|
|||||||||||
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.config.ConfigLoaderServlet
Bootstrap servlet to start up jsf-spring-config root ConfigWebApplicationContext. Simply delegates to ConfigLoader.
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 ConfigLoaderListener.
For further information see
ContextLoaderServlet
.
ContextLoader
,
ContextLoaderListener
,
Serialized FormConstructor Summary | |
ConfigLoaderServlet()
|
Method Summary | |
protected ConfigLoader |
createConfigLoader()
Creates the ConfigLoader to use. |
void |
destroy()
Closes the jsf-spring-config root web application context. |
java.lang.String |
getServletInfo()
|
void |
init()
Initializes the jsf-spring-config 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 ConfigLoaderServlet()
Method Detail |
protected ConfigLoader createConfigLoader()
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 errorsHttpServlet.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 |