Class FacesApplicationArtifactHolder


  • @ApplicationScoped
    public class FacesApplicationArtifactHolder
    extends Object
    This bean is used to store the ServletContext, so CDI beans can get it later. This is used to ensure a valid FacesContext instance is passed when the bean is destroyed.
    • Constructor Detail

      • FacesApplicationArtifactHolder

        public FacesApplicationArtifactHolder()
    • Method Detail

      • getServletContext

        public jakarta.servlet.ServletContext getServletContext()
      • setServletContext

        public void setServletContext​(jakarta.servlet.ServletContext servletContext)