Class StartupFacesContextImpl
java.lang.Object
jakarta.faces.context.FacesContext
org.apache.myfaces.context.servlet.FacesContextImplBase
org.apache.myfaces.context.servlet.StartupFacesContextImpl
- All Implemented Interfaces:
Purgeable
A FacesContext implementation which will be set as the current instance
during container startup and shutdown and which provides a basic set of
FacesContext functionality.
- Version:
- $Revision$ $Date$
- Author:
- Jakob Korherr (latest modification by $Author$)
-
Field Summary
Fields inherited from class org.apache.myfaces.context.servlet.FacesContextImplBase
_released -
Constructor Summary
ConstructorsConstructorDescriptionStartupFacesContextImpl(ExternalContext externalContext, ExternalContext defaultExternalContext, ExceptionHandler exceptionHandler, boolean startup) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(String clientId, FacesMessage message) getMessageList(String clientId) getMessages(String clientId) booleanbooleanbooleanbooleanvoidvoidvoidsetCurrentPhaseId(PhaseId currentPhaseId) voidsetResponseStream(ResponseStream responseStream) voidsetResponseWriter(ResponseWriter responseWriter) voidMethods inherited from class org.apache.myfaces.context.servlet.FacesContextImplBase
assertNotReleased, getApplication, getAttributes, getCurrentFacesContext, getELContext, getExceptionHandler, getExternalContext, getNamingContainerSeparatorChar, getRenderKit, getResourceLibraryContracts, getViewRoot, isProcessingEvents, isReleased, purge, release, setExceptionHandler, setProcessingEvents, setResourceLibraryContracts, setViewRootMethods inherited from class jakarta.faces.context.FacesContext
getCurrentInstance, isProjectStage, setCurrentInstance
-
Constructor Details
-
StartupFacesContextImpl
public StartupFacesContextImpl(ExternalContext externalContext, ExternalContext defaultExternalContext, ExceptionHandler exceptionHandler, boolean startup)
-
-
Method Details
-
getMaximumSeverity
- Specified by:
getMaximumSeverityin classFacesContext
-
getMessageList
- Overrides:
getMessageListin classFacesContext
-
getMessageList
- Overrides:
getMessageListin classFacesContext
-
getMessages
- Specified by:
getMessagesin classFacesContext
-
getClientIdsWithMessages
- Specified by:
getClientIdsWithMessagesin classFacesContext
-
getMessages
- Specified by:
getMessagesin classFacesContext
-
addMessage
- Specified by:
addMessagein classFacesContext
-
getPartialViewContext
- Overrides:
getPartialViewContextin classFacesContext
-
isPostback
public boolean isPostback()- Overrides:
isPostbackin classFacesContext
-
validationFailed
public void validationFailed()- Overrides:
validationFailedin classFacesContext
-
isValidationFailed
public boolean isValidationFailed()- Overrides:
isValidationFailedin classFacesContext
-
renderResponse
public void renderResponse()- Specified by:
renderResponsein classFacesContext
-
responseComplete
public void responseComplete()- Specified by:
responseCompletein classFacesContext
-
getCurrentPhaseId
- Overrides:
getCurrentPhaseIdin classFacesContext
-
setCurrentPhaseId
- Overrides:
setCurrentPhaseIdin classFacesContext
-
getRenderResponse
public boolean getRenderResponse()- Specified by:
getRenderResponsein classFacesContext
-
getResponseComplete
public boolean getResponseComplete()- Specified by:
getResponseCompletein classFacesContext
-
setResponseStream
- Specified by:
setResponseStreamin classFacesContext
-
getResponseStream
- Specified by:
getResponseStreamin classFacesContext
-
setResponseWriter
- Specified by:
setResponseWriterin classFacesContext
-
getResponseWriter
- Specified by:
getResponseWriterin classFacesContext
-
getLifecycle
- Specified by:
getLifecyclein classFacesContext
-