threads that used to server request/response cycles in an application server are generally pulled from a pool . just before the thread is done completing the cycle , we should clear any local instance variables to ensure that they are not hanging on to any session references , otherwise the session and their resources are not released . concode_field_sep Lifecycle lifecycle concode_elem_sep ClassLoader renderableClassLoader concode_elem_sep Log log concode_elem_sep ExecutorService executorService concode_elem_sep BridgeFacesContext facesContext concode_elem_sep Collection viewListeners concode_elem_sep InheritableThreadLocal localInstance concode_elem_sep long delay concode_elem_sep boolean synchronousMode concode_field_sep void redirectTo concode_elem_sep void navigateTo concode_elem_sep void run concode_elem_sep void setCurrentInstance concode_elem_sep void execute concode_elem_sep ClassLoader getRenderableClassLoader concode_elem_sep FacesContext getFacesContext concode_elem_sep void warn concode_elem_sep void setFacesContext concode_elem_sep void addViewListener concode_elem_sep PersistentFacesState getInstance concode_elem_sep PersistentFacesState getInstance concode_elem_sep void render concode_elem_sep void renderLater concode_elem_sep void renderLater
void function ( ) { localInstance . set ( null ) ; }