@Override
 public void release() {
   setInstance(facesContext, null);
   facesContext = null;
 }
  public ExtendedPartialViewContext(FacesContext facesContext) {
    this.facesContext = facesContext;

    setInstance(facesContext, this);
  }