|
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mindmatters.faces.spring.context.servlet.FacesContextLoader
public final class FacesContextLoader
Performs the actual initialization work for a FacesContext which
contains all of the per-request state information. Called by
FacesContextFilter and FacesDispatcherServlet.
FacesContextFilter,
FacesDispatcherServlet| Method Summary | |
|---|---|
static FacesContextLoader |
getCurrentInstance()
|
FacesContext |
initFacesContext(javax.servlet.ServletContext servletContext,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Create (if needed) and return a FacesContext instance that is
initialized for the processing of the specified request and response
objects. |
void |
releaseFacesContext(FacesContext context)
Release any resources associated with the given FacesContext
instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FacesContextLoader getCurrentInstance()
public FacesContext initFacesContext(javax.servlet.ServletContext servletContext,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException
FacesContext instance that is
initialized for the processing of the specified request and response
objects.
servletContext - the ServletContext that is associated with this
webrequest - the ServletRequest that is to be processedresponse - the ServletResponse that is to be processed
FacesContext instance
javax.servlet.ServletException - if a FacesContext cannot be constructed for the
specified parametersFacesContextFactory.getFacesContext(Object, Object, Object,
Lifecycle)public void releaseFacesContext(FacesContext context)
FacesContext
instance.
context - the FacesContext which contains per-request state informationFacesContext.release()
|
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||