/** * The request is about to come into scope of the web application. * * @param event the notification event */ public void requestInitialized(ServletRequestEvent event) { FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext instanceof InitFacesContext) { InitFacesContext initFacesContext = (InitFacesContext) facesContext; initFacesContext.releaseCurrentInstance(); // Bug 20458755 Clean up the entry for the InitContext corresponding // to this ServletContext initFacesContext.removeServletContextEntryForInitContext(); } ApplicationAssociate.setCurrentInstance(getAssociate()); }
/** * The request is about to come into scope of the web application. * * @param event the notification event */ public void requestInitialized(ServletRequestEvent event) { FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext instanceof InitFacesContext) { InitFacesContext initFacesContext = (InitFacesContext) facesContext; initFacesContext.releaseCurrentInstance(); // Bug 20458755 Clean up the entry for the InitContext corresponding // to this ServletContext initFacesContext.removeServletContextEntryForInitContext(); } ApplicationAssociate.setCurrentInstance(getAssociate()); }
/** * The request is about to come into scope of the web application. * * @param event the notification event */ public void requestInitialized(ServletRequestEvent event) { FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext instanceof InitFacesContext) { InitFacesContext initFacesContext = (InitFacesContext) facesContext; initFacesContext.releaseCurrentInstance(); // Bug 20458755 Clean up the entry for the InitContext corresponding // to this ServletContext initFacesContext.removeServletContextEntryForInitContext(); } ApplicationAssociate.setCurrentInstance(getAssociate()); }
/** * The request is about to come into scope of the web application. * * @param event the notification event */ public void requestInitialized(ServletRequestEvent event) { FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext instanceof InitFacesContext) { InitFacesContext initFacesContext = (InitFacesContext) facesContext; initFacesContext.releaseCurrentInstance(); // Bug 20458755 Clean up the entry for the InitContext corresponding // to this ServletContext initFacesContext.removeServletContextEntryForInitContext(); } ApplicationAssociate.setCurrentInstance(getAssociate()); }