Package com.sun.faces.config.beans

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


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


        applicationBean.addActionListener("com.sun.faces.application.ActionListenerImpl");
        applicationBean.addNavigationHandler("com.sun.faces.application.NavigationHandlerImpl");
        applicationBean.addStateManager("com.sun.faces.application.StateManagerImpl");
        applicationBean.addViewHandler("com.sun.faces.application.ViewHandlerImpl");

        lifecycleBean = new LifecycleBean();
        lifecycleBean.addPhaseListener("com.sun.faces.lifecycle.ELResolverInitPhaseListener");

        /*
         * Wrap these in braces to allow repetition of the ivar name
         */
 

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

TOP

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

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.