Examples of releaseIfNecessary()


Examples of org.springframework.faces.webflow.FacesContextHelper.releaseIfNecessary()

    FacesContextHelper helper = new FacesContextHelper();
    try {
      FacesContext facesContext = helper.getFacesContext(getPortletContext(), request, response);
      handleResourceRequest(facesContext, request, response);
    } finally {
      helper.releaseIfNecessary();
    }
    return null;
  }

  private void handleResourceRequest(FacesContext facesContext, ResourceRequest request, ResourceResponse response) throws IOException {
View Full Code Here

Examples of org.springframework.faces.webflow.FacesContextHelper.releaseIfNecessary()

    try {
      this.logger.debug("Asking faces lifecycle to render");
      this.facesLifecycle.render(facesContext);
    } finally {
      this.logger.debug("View rendering complete");
      facesContextHelper.releaseIfNecessary();
    }
  }

  private void populateRequestMap(FacesContext facesContext, Map<String, Object> model) {
    Map<String, Object> requestMap = facesContext.getExternalContext().getRequestMap();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.