Package org.apache.myfaces.cdi
Class FacesApplicationArtifactHolder
java.lang.Object
org.apache.myfaces.cdi.FacesApplicationArtifactHolder
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 -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.ServletContext
void
setServletContext
(jakarta.servlet.ServletContext servletContext)
-
Constructor Details
-
FacesApplicationArtifactHolder
public FacesApplicationArtifactHolder()
-
-
Method Details
-
getServletContext
public jakarta.servlet.ServletContext getServletContext() -
setServletContext
public void setServletContext(jakarta.servlet.ServletContext servletContext)
-