Package org.apache.beehive.netui.util.config.bean

Examples of org.apache.beehive.netui.util.config.bean.PageFlowFactoryConfig


    private static final PageFlowFactoriesConfig parsePfFactoriesConfig(Document document) {
        Element elem = DomUtils.getChildElementByName(document.getDocumentElement(), "pageflow-factories");
        if(elem == null)
            return null;

        PageFlowFactoryConfig pfFactory = parsePageFlowFactoryConfig(DomUtils.getChildElementByName(elem, "flowcontroller-factory"));
        PageFlowFactoryConfig fbbFactoyr = parsePageFlowFactoryConfig(DomUtils.getChildElementByName(elem, "faces-backing-bean-factory"));

        return new PageFlowFactoriesConfig(pfFactory, fbbFactoyr);
    }
View Full Code Here


        return cpConfig;
    }

    private static final PageFlowFactoryConfig parsePageFlowFactoryConfig(Node node) {
        if(node != null) {
            return new PageFlowFactoryConfig(
                DomUtils.getChildElementText((Element)node, "factory-class"),
                parseCustomProperties((((Element)node).getElementsByTagName("custom-property")))
            );
        }
        else return null;
View Full Code Here

        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 );
View Full Code Here

        PageFlowFactoriesConfig factoriesBean = ConfigUtil.getConfig().getPageFlowFactories();
        FlowControllerFactory factory = null;

        if ( factoriesBean != null )
        {
            PageFlowFactoryConfig fcFactoryBean = factoriesBean.getPageFlowFactory();
            factory = ( FlowControllerFactory ) FactoryUtils.getFactory( servletContext, fcFactoryBean, FlowControllerFactory.class );
        }

        if ( factory == null ) factory = new FlowControllerFactory();
        factory.reinit( servletContext );
View Full Code Here

        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 );
View Full Code Here

        PageFlowFactoriesConfig factoriesBean = ConfigUtil.getConfig().getPageFlowFactories();
        FlowControllerFactory factory = null;

        if ( factoriesBean != null )
        {
            PageFlowFactoryConfig fcFactoryBean = factoriesBean.getPageFlowFactory();
            factory = ( FlowControllerFactory ) FactoryUtils.getFactory( servletContext, fcFactoryBean, FlowControllerFactory.class );
        }

        if ( factory == null ) factory = new FlowControllerFactory();
        factory.reinit( servletContext );
View Full Code Here

    private static final PageFlowFactoriesConfig parsePfFactoriesConfig(Document document) {
        Element elem = DomUtils.getChildElementByName(document.getDocumentElement(), "pageflow-factories");
        if(elem == null)
            return null;

        PageFlowFactoryConfig pfFactory = parsePageFlowFactoryConfig(DomUtils.getChildElementByName(elem, "flowcontroller-factory"));
        PageFlowFactoryConfig fbbFactoyr = parsePageFlowFactoryConfig(DomUtils.getChildElementByName(elem, "faces-backing-bean-factory"));

        return new PageFlowFactoriesConfig(pfFactory, fbbFactoyr);
    }
View Full Code Here

        return cpConfig;
    }

    private static final PageFlowFactoryConfig parsePageFlowFactoryConfig(Node node) {
        if(node != null) {
            return new PageFlowFactoryConfig(
                DomUtils.getChildElementText((Element)node, "factory-class"),
                parseCustomProperties((((Element)node).getElementsByTagName("custom-property")))
            );
        }
        else return null;
View Full Code Here

        PageFlowFactoriesConfig factoriesBean = ConfigUtil.getConfig().getPageFlowFactories();
        FlowControllerFactory factory = null;

        if ( factoriesBean != null )
        {
            PageFlowFactoryConfig fcFactoryBean = factoriesBean.getPageFlowFactory();
            factory = ( FlowControllerFactory ) FactoryUtils.getFactory( servletContext, fcFactoryBean, FlowControllerFactory.class );
        }

        if ( factory == null )
            factory = new FlowControllerFactory();
View Full Code Here

        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 );
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.util.config.bean.PageFlowFactoryConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.