org.apache.myfaces.context.servlet
Class StartupFacesContextImpl
java.lang.Object
javax.faces.context.FacesContext
org.apache.myfaces.context.servlet.FacesContextImplBase
org.apache.myfaces.context.servlet.StartupFacesContextImpl
public class StartupFacesContextImpl
- extends FacesContextImplBase
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: 963629 $ $Date: 2010-07-13 09:29:07 +0000 (Tue, 13 Jul 2010) $
- Author:
- Jakob Korherr (latest modification by $Author: jakobk $)
Methods inherited from class org.apache.myfaces.context.servlet.FacesContextImplBase |
assertNotReleased, getApplication, getAttributes, getCurrentFacesContext, getELContext, getExceptionHandler, getExternalContext, getNamingContainerSeparatorChar, getRenderKit, getResourceLibraryContracts, getViewRoot, isProcessingEvents, isReleased, purgeFacesContext, release, setExceptionHandler, setProcessingEvents, setResourceLibraryContracts, setViewRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXCEPTION_TEXT
public static final String EXCEPTION_TEXT
- See Also:
- Constant Field Values
StartupFacesContextImpl
public StartupFacesContextImpl(ExternalContext externalContext,
ReleaseableExternalContext defaultExternalContext,
ExceptionHandler exceptionHandler,
boolean startup)
getMaximumSeverity
public final FacesMessage.Severity getMaximumSeverity()
- Specified by:
getMaximumSeverity
in class FacesContext
getMessageList
public List<FacesMessage> getMessageList()
- Overrides:
getMessageList
in class FacesContext
getMessageList
public List<FacesMessage> getMessageList(String clientId)
- Overrides:
getMessageList
in class FacesContext
getMessages
public final Iterator<FacesMessage> getMessages()
- Specified by:
getMessages
in class FacesContext
getClientIdsWithMessages
public final Iterator<String> getClientIdsWithMessages()
- Specified by:
getClientIdsWithMessages
in class FacesContext
getMessages
public final Iterator<FacesMessage> getMessages(String clientId)
- Specified by:
getMessages
in class FacesContext
addMessage
public final void addMessage(String clientId,
FacesMessage message)
- Specified by:
addMessage
in class FacesContext
getPartialViewContext
public PartialViewContext getPartialViewContext()
- Overrides:
getPartialViewContext
in class FacesContext
isPostback
public boolean isPostback()
- Overrides:
isPostback
in class FacesContext
validationFailed
public void validationFailed()
- Overrides:
validationFailed
in class FacesContext
isValidationFailed
public boolean isValidationFailed()
- Overrides:
isValidationFailed
in class FacesContext
renderResponse
public final void renderResponse()
- Specified by:
renderResponse
in class FacesContext
responseComplete
public final void responseComplete()
- Specified by:
responseComplete
in class FacesContext
getCurrentPhaseId
public PhaseId getCurrentPhaseId()
- Overrides:
getCurrentPhaseId
in class FacesContext
setCurrentPhaseId
public void setCurrentPhaseId(PhaseId currentPhaseId)
- Overrides:
setCurrentPhaseId
in class FacesContext
getRenderResponse
public final boolean getRenderResponse()
- Specified by:
getRenderResponse
in class FacesContext
getResponseComplete
public final boolean getResponseComplete()
- Specified by:
getResponseComplete
in class FacesContext
setResponseStream
public final void setResponseStream(ResponseStream responseStream)
- Specified by:
setResponseStream
in class FacesContext
getResponseStream
public final ResponseStream getResponseStream()
- Specified by:
getResponseStream
in class FacesContext
setResponseWriter
public final void setResponseWriter(ResponseWriter responseWriter)
- Specified by:
setResponseWriter
in class FacesContext
getResponseWriter
public final ResponseWriter getResponseWriter()
- Specified by:
getResponseWriter
in class FacesContext
Copyright © 2014 The Apache Software Foundation. All rights reserved.