Class JsfApplicationArtifactHolder


  • @ApplicationScoped
    public class JsfApplicationArtifactHolder
    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

      • JsfApplicationArtifactHolder

        public JsfApplicationArtifactHolder()
    • Method Detail

      • getServletContext

        public javax.servlet.ServletContext getServletContext()
      • setServletContext

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