com.liferay.faces.util.context.internal
Class FacesContextUtilImpl

java.lang.Object
  extended by javax.faces.context.FacesContext
      extended by javax.faces.context.FacesContextWrapper
          extended by com.liferay.faces.util.context.internal.FacesContextUtilImpl
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.context.FacesContext>

public class FacesContextUtilImpl
extends javax.faces.context.FacesContextWrapper

The purpose of this class is to provide a way to automatically instantiate and release the FacesRequestContext ThreadLocal singleton.

Author:
Kyle Stiemann

Method Summary
 javax.faces.context.FacesContext getWrapped()
           
 void release()
           
 
Methods inherited from class javax.faces.context.FacesContextWrapper
addMessage, getApplication, getAttributes, getClientIdsWithMessages, getCurrentPhaseId, getELContext, getExceptionHandler, getExternalContext, getMaximumSeverity, getMessageList, getMessageList, getMessages, getMessages, getNamingContainerSeparatorChar, getPartialViewContext, getRenderKit, getRenderResponse, getResourceLibraryContracts, getResponseComplete, getResponseStream, getResponseWriter, getViewRoot, isPostback, isProcessingEvents, isProjectStage, isReleased, isValidationFailed, renderResponse, responseComplete, setCurrentPhaseId, setExceptionHandler, setProcessingEvents, setResourceLibraryContracts, setResponseStream, setResponseWriter, setViewRoot, validationFailed
 
Methods inherited from class javax.faces.context.FacesContext
getCurrentInstance, setCurrentInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

release

public void release()
Overrides:
release in class javax.faces.context.FacesContextWrapper

getWrapped

public javax.faces.context.FacesContext getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.FacesContext>
Overrides:
getWrapped in class javax.faces.context.FacesContextWrapper


Copyright © 2015 Liferay, Inc.. All rights reserved.