Package com.sun.faces.config.beans

Examples of com.sun.faces.config.beans.FactoryBean


            fcb = (FacesConfigBean) digester.peek();
        } catch (Exception e) {
            throw new IllegalStateException
                ("No parent FacesConfigBean on object stack");
        }
        FactoryBean fb = fcb.getFactory();
        if (fb == null) {
            if (digester.getLogger().isDebugEnabled()) {
                digester.getLogger().debug("[FactoryRule]{" +
                                           digester.getMatch() +
                                           "} New " + CLASS_NAME);


    private List<ValidatorBean> validators = new ArrayList<ValidatorBean>();
    private List<ComponentBean> components = new ArrayList<ComponentBean>();

    public Bootstrapper() {

        factoryBean = new FactoryBean();
        factoryBean.addApplicationFactory("com.sun.faces.application.ApplicationFactoryImpl");
        factoryBean.addFacesContextFactory("com.sun.faces.context.FacesContextFactoryImpl");
        factoryBean.addLifecycleFactory("com.sun.faces.lifecycle.LifecycleFactoryImpl");
        factoryBean.addRenderKitFactory("com.sun.faces.renderkit.RenderKitFactoryImpl");

            fcb = (FacesConfigBean) digester.peek();
        } catch (Exception e) {
            throw new IllegalStateException
                ("No parent FacesConfigBean on object stack");
        }
        FactoryBean fb = fcb.getFactory();
        if (fb == null) {
            if (digester.getLogger().isDebugEnabled()) {
                digester.getLogger().debug("[FactoryRule]{" +
                                           digester.getMatch() +
                                           "} New " + CLASS_NAME);

TOP

Related Classes of com.sun.faces.config.beans.FactoryBean

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.