* Initialize an instance of this class in the ServletContext. This is a framework-invoked method and should
* normally be called directly.
*/
public static void init( ServletContext servletContext )
{
PageFlowFactoriesConfig factoriesBean = ConfigUtil.getConfig().getPageFlowFactories();
FacesBackingBeanFactory factory = null;
if ( factoriesBean != null )
{
PageFlowFactoryConfig fcFactoryBean = factoriesBean.getFacesBackingBeanFactory();
factory = ( FacesBackingBeanFactory ) FactoryUtils.getFactory( servletContext, fcFactoryBean, FacesBackingBeanFactory.class );
}
if ( factory == null ) factory = new FacesBackingBeanFactory();
factory.reinit( servletContext );