|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.faces.webapp.FacesServlet
FacesServlet is a servlet that manages the request processing lifecycle for web applications that are utilizing JavaServer Faces to construct the user interface.
Field Summary | |
static java.lang.String |
CONFIG_FILES_ATTR
Context initialization parameter name for a comma delimited list of context-relative resource paths (in addition to /WEB-INF/faces-config.xml which is loaded automatically
if it exists) containing JavaServer Faces configuration information. |
static java.lang.String |
LIFECYCLE_ID_ATTR
Context initialization parameter name for the lifecycle identifier of the Lifecycle instance to be utilized. |
Constructor Summary | |
FacesServlet()
|
Method Summary | |
void |
destroy()
Release all resources acquired at startup time. |
javax.servlet.ServletConfig |
getServletConfig()
Return the ServletConfig instance for this servlet. |
java.lang.String |
getServletInfo()
Return information about this Servlet. |
void |
init(javax.servlet.ServletConfig servletConfig)
Acquire the factory instances we will require. |
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Process an incoming request, and create the corresponding response, by executing the request processing lifecycle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CONFIG_FILES_ATTR
Context initialization parameter name for a comma delimited list
of context-relative resource paths (in addition to
/WEB-INF/faces-config.xml
which is loaded automatically
if it exists) containing JavaServer Faces configuration information.
public static final java.lang.String LIFECYCLE_ID_ATTR
Context initialization parameter name for the lifecycle identifier
of the Lifecycle
instance to be utilized.
Constructor Detail |
public FacesServlet()
Method Detail |
public void destroy()
Release all resources acquired at startup time.
destroy
in interface javax.servlet.Servlet
public javax.servlet.ServletConfig getServletConfig()
Return the ServletConfig
instance for this servlet.
getServletConfig
in interface javax.servlet.Servlet
public java.lang.String getServletInfo()
Return information about this Servlet.
getServletInfo
in interface javax.servlet.Servlet
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
Acquire the factory instances we will require.
init
in interface javax.servlet.Servlet
javax.servlet.ServletException
- if, for any reason, the startup of
this Faces application failed. This includes errors in the
config file that is parsed before or during the processing of
this init()
method.public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws java.io.IOException, javax.servlet.ServletException
Process an incoming request, and create the corresponding response, by executing the request processing lifecycle.
service
in interface javax.servlet.Servlet
request
- The servlet request we are processingresponse
- The servlet response we are creating
java.io.IOException
- if an input/output error occurs during processing
javax.servlet.ServletException
- if a servlet error occurs during processing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |