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