public static void configureAnnotatedFlows(FacesContext facesContext)
{
FacesFlowProviderFactory factory =
FacesFlowProviderFactory.getFacesFlowProviderFactory(facesContext.getExternalContext());
FacesFlowProvider provider = factory.getFacesFlowProvider(facesContext.getExternalContext());
Iterator<Flow> it = provider.getAnnotatedFlows(facesContext);
if (it != null)
{
if (it.hasNext())
{