@Override public final FacesMessage.Severity getMaximumSeverity() { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
public StartupFacesContextImpl( ExternalContext externalContext, ReleaseableExternalContext defaultExternalContext, ExceptionHandler exceptionHandler, boolean startup) { // setCurrentInstance is called in constructor of super class super(externalContext, defaultExternalContext); _startup = startup; setExceptionHandler(exceptionHandler); }
private FacesContext _createFacesContext(ServletContext servletContext, boolean startup) { ExternalContext externalContext = new StartupServletExternalContextImpl(servletContext, startup); ExceptionHandler exceptionHandler = new ExceptionHandlerImpl(); FacesContext facesContext = new StartupFacesContextImpl(externalContext, (ReleaseableExternalContext) externalContext, exceptionHandler, startup); // If getViewRoot() is called during application startup or shutdown, // it should return a new UIViewRoot with its locale set to Locale.getDefault(). UIViewRoot startupViewRoot = new UIViewRoot(); startupViewRoot.setLocale(Locale.getDefault()); facesContext.setViewRoot(startupViewRoot); return facesContext; }
private FacesContext _createFacesContext(ServletContext servletContext, boolean startup) { ExternalContext externalContext = new StartupServletExternalContextImpl(servletContext, startup); ExceptionHandler exceptionHandler = new ExceptionHandlerImpl(); FacesContext facesContext = new StartupFacesContextImpl(externalContext, (ReleaseableExternalContext) externalContext, exceptionHandler, startup); // If getViewRoot() is called during application startup or shutdown, // it should return a new UIViewRoot with its locale set to Locale.getDefault(). UIViewRoot startupViewRoot = new UIViewRoot(); startupViewRoot.setLocale(Locale.getDefault()); facesContext.setViewRoot(startupViewRoot); return facesContext; }
@Override public List<FacesMessage> getMessageList(String clientId) { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
private FacesContext _createFacesContext(ServletContext servletContext, boolean startup) { ExternalContext externalContext = new StartupServletExternalContextImpl(servletContext, startup); ExceptionHandler exceptionHandler = new ExceptionHandlerImpl(); FacesContext facesContext = new StartupFacesContextImpl(externalContext, (ReleaseableExternalContext) externalContext, exceptionHandler, startup); // If getViewRoot() is called during application startup or shutdown, // it should return a new UIViewRoot with its locale set to Locale.getDefault(). UIViewRoot startupViewRoot = new UIViewRoot(); startupViewRoot.setLocale(Locale.getDefault()); facesContext.setViewRoot(startupViewRoot); return facesContext; }
public StartupFacesContextImpl( ExternalContext externalContext, ReleaseableExternalContext defaultExternalContext, ExceptionHandler exceptionHandler, boolean startup) { // setCurrentInstance is called in constructor of super class super(externalContext, defaultExternalContext); _startup = startup; setExceptionHandler(exceptionHandler); }
@Override public void validationFailed() { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
facesContext = new StartupFacesContextImpl(externalContext, (ReleaseableExternalContext) externalContext, exceptionHandler, false); for (ContextualStorage contextualStorage : oldWindowContextStorages.values())
public StartupFacesContextImpl( ExternalContext externalContext, ReleaseableExternalContext defaultExternalContext, ExceptionHandler exceptionHandler, boolean startup) { // setCurrentInstance is called in constructor of super class super(externalContext, defaultExternalContext); _startup = startup; setExceptionHandler(exceptionHandler); }
@Override public boolean isValidationFailed() { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
ExternalContext externalContext = new StartupServletExternalContextImpl(servletContext, false); ExceptionHandler exceptionHandler = new ExceptionHandlerImpl(); facesContext = new StartupFacesContextImpl(externalContext, (ReleaseableExternalContext) externalContext, exceptionHandler, false); _viewScopeHandler.onSessionDestroyed();
@Override public final boolean getRenderResponse() { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
ExternalContext externalContext = new StartupServletExternalContextImpl(servletContext, false); ExceptionHandler exceptionHandler = new ExceptionHandlerImpl(); facesContext = new StartupFacesContextImpl(externalContext, (ReleaseableExternalContext) externalContext, exceptionHandler, false); for (ViewScopeContextualStorage contextualStorage : oldWindowContextStorages.values())
@Override public final Iterator<FacesMessage> getMessages() { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
ExternalContext externalContext = new StartupServletExternalContextImpl(servletContext, false); ExceptionHandler exceptionHandler = new ExceptionHandlerImpl(); facesContext = new StartupFacesContextImpl(externalContext, (ReleaseableExternalContext) externalContext, exceptionHandler, false); ViewScopeContextImpl.destroyAllActive(contextualStorage, facesContext);
@Override public final FacesMessage.Severity getMaximumSeverity() { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
@Override public final ResponseStream getResponseStream() { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
@Override public final Iterator<String> getClientIdsWithMessages() { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }
@Override public final Iterator<FacesMessage> getMessages(final String clientId) { assertNotReleased(); throw new UnsupportedOperationException(EXCEPTION_TEXT + _getTime()); }