code: public static FacesBackingBeanFactory get( ServletContext servletContext )
      {
          FacesBackingBeanFactory factory = ( FacesBackingBeanFactory ) servletContext.getAttribute( CONTEXT_ATTR );
          assert factory != null
                  : FacesBackingBeanFactory.class.getName() + " was not found in ServletContext attribute " + CONTEXT_ATTR;
          factory.reinit( servletContext );
          return factory;
      }
docs: Get a FacesBackingBeanFactory.
  
  @param servletContext the current ServletContext.
  @return a FacesBackingBeanFactory for the given ServletContext.  It may or may not be a cached instance.