Package org.apache.myfaces.cdi
Class FacesApplicationArtifactHolder
- java.lang.Object
-
- org.apache.myfaces.cdi.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 Summary
Constructors Constructor Description FacesApplicationArtifactHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.servlet.ServletContext
getServletContext()
void
setServletContext(jakarta.servlet.ServletContext servletContext)
-