protected void initFacesContext() { FacesContextFactory facesContextFactory = (FacesContextFactory) FactoryFinder.getFactory(FactoryFinder.FACES_CONTEXT_FACTORY); this.facesContext = facesContextFactory.getFacesContext( this.servletContext, this.request, this.response, this.lifecycle); ((MockFacesContext) this.facesContext).setApplication(this.application); ExceptionHandler exceptionHandler = ((ExceptionHandlerFactory) FactoryFinder.getFactory(FactoryFinder.EXCEPTION_HANDLER_FACTORY)).getExceptionHandler(); this.facesContext.setExceptionHandler(exceptionHandler); ((MockFacesContext) this.facesContext).setExternalContext( new MockExternalContext(this.servletContext, this.request, this.response)); }
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory wrapped) { super(wrapped); }
public CustomExceptionHandlerFactory(final ExceptionHandlerFactory parent) { this.parent = parent; }
public JsfExceptionHandlerFactory(ExceptionHandlerFactory parentFactory) { this.parentFactory = parentFactory; }
public DefaultExceptionHandlerFactory(ExceptionHandlerFactory parent) { super(parent); }
/** * Returns the wrapped factory. */ @Override public ExceptionHandlerFactory getWrapped() { return wrapped; }
public LinkBinderExceptionHandlerFactory(ExceptionHandlerFactory parent) { this.parent = parent; }
public ViewExpiredExceptionExceptionHandlerFactory(ExceptionHandlerFactory parent) { this.parent = parent; }
public JsfExceptionHandlerFactory(ExceptionHandlerFactory parent) { this.parent = parent; }
public JsfExceptionHandlerFactory(ExceptionHandlerFactory factory) { this.parent = factory; }
public CustomExceptionHandlerFactory(ExceptionHandlerFactory parent) { this.parent = parent; }
public JtaExceptionHandlerFactory(ExceptionHandlerFactory p) { this.parent = p; }
public JSFExceptionHandlerFactory(ExceptionHandlerFactory parent) { this.parent = parent; }
public GlobalExceptionHandlerFactory(ExceptionHandlerFactory exceptionHandlerFactory) { this.exceptionHandlerFactory = exceptionHandlerFactory; }
public CustomExceptionHandlerFactory( ExceptionHandlerFactory parent ) { this.parent = parent; }
public FacesViewExceptionHandlerFactory( ExceptionHandlerFactory base ) { this.base = base; }
public ClapExceptionHandlerFactory(final ExceptionHandlerFactory parent) { this.parent = parent; }
public FacesExceptionHandlerFactory( ExceptionHandlerFactory parent ) { this.parent = parent; }
public ShowcaseExceptionHandlerFactory(ExceptionHandlerFactory base) { this.base = base; }