public void requestInitialized(ServletRequestEvent event){
  FacesContext facesContext=FacesContext.getCurrentInstance();
  if (facesContext instanceof InitFacesContext) {
    InitFacesContext initFacesContext=(InitFacesContext)facesContext;
    initFacesContext.releaseCurrentInstance();
    initFacesContext.removeServletContextEntryForInitContext();
  }
  ApplicationAssociate.setCurrentInstance(getAssociate());
}

public void requestInitialized ( ServletRequestEvent event ) { FacesContext facesContext = FacesContext . getCurrentInstance ( ) ; if ( facesContext instanceof InitFacesContext ) { InitFacesContext initFacesContext = ( InitFacesContext ) facesContext ; initFacesContext . releaseCurrentInstance ( ) ; initFacesContext . removeServletContextEntryForInitContext ( ) ; } ApplicationAssociate . setCurrentInstance ( getAssociate ( ) ) ; }
the request is about to come into scope of the web application .
