public void release() { this.released = true; this.extContext = null; FacesContext.setCurrentInstance(null); this.application = null; this.viewRoot = null; this.messages = null; this.responseStream = null; this.responseWriter = null; }
FacesContextImpl(ExternalContextImpl extContext) { this.extContext = extContext; FacesContext.setCurrentInstance(this); }
public void callSetCurrentInstance() { FacesContext.setCurrentInstance(this); }