public class FacesSupport extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
FACES_ENABLED
Marker key for the ActionContext to dictate whether to treat the request
as a JSF faces request and therefore process the Faces phases
|
protected com.opensymphony.xwork2.util.logging.Logger |
log
Log instance for each class
|
Modifier | Constructor and Description |
---|---|
protected |
FacesSupport()
Initializes log instance for the instance object
|
Modifier and Type | Method and Description |
---|---|
protected void |
informPhaseListenersAfter(javax.faces.context.FacesContext facesContext,
javax.faces.event.PhaseId phaseId)
Informs phase listeners after a phase is executed
|
protected void |
informPhaseListenersBefore(javax.faces.context.FacesContext facesContext,
javax.faces.event.PhaseId phaseId)
Informs phase listeners before a phase is executed
|
protected boolean |
isResponseComplete(javax.faces.context.FacesContext facesContext,
String phase,
boolean before)
Checks to see if the response has been completed.
|
protected void |
setLifecycle(javax.faces.lifecycle.Lifecycle lifecycle)
Sets the lifecycle for this request
|
protected boolean |
shouldRenderResponse(javax.faces.context.FacesContext facesContext,
String phase,
boolean before)
Checks to see the render phase should be executed next.
|
protected com.opensymphony.xwork2.util.logging.Logger log
protected static final String FACES_ENABLED
protected FacesSupport()
protected void setLifecycle(javax.faces.lifecycle.Lifecycle lifecycle)
lifecycle
- The lifecycleprotected void informPhaseListenersBefore(javax.faces.context.FacesContext facesContext, javax.faces.event.PhaseId phaseId)
facesContext
- The current faces contextphaseId
- The phase id about to be executedprotected void informPhaseListenersAfter(javax.faces.context.FacesContext facesContext, javax.faces.event.PhaseId phaseId)
facesContext
- The current faces contextphaseId
- The phase id that was executedprotected boolean isResponseComplete(javax.faces.context.FacesContext facesContext, String phase, boolean before)
facesContext
- The current faces contextphase
- The phase id in executionbefore
- Whether the phase has been executed or notprotected boolean shouldRenderResponse(javax.faces.context.FacesContext facesContext, String phase, boolean before)
facesContext
- The current faces contextphase
- The phase id in executionbefore
- Whether the phase has been executed or notCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.