Package org.apache.myfaces.extensions.cdi.jsf.api.config.view

Examples of org.apache.myfaces.extensions.cdi.jsf.api.config.view.PageBeanDescriptor


        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor) pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here


        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor)pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here

        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor)pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here

        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor) pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here

        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor)pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here

        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor)pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here

     */
    public void addPageBean(Class pageBeanClass)
    {
        List<PageBeanDescriptor> newList = new ArrayList<PageBeanDescriptor>(this.pageBeanDescriptors);

        PageBeanDescriptor newEntry = new DefaultPageBeanDescriptor(getBeanName(pageBeanClass) , pageBeanClass);

        newList.add(newEntry);

        this.pageBeanDescriptors = Collections.unmodifiableList(newList);
    }
View Full Code Here

        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor) pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here

        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor)pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here

        assertEquals(ViewConfigCache.getViewConfigDescriptor(
                OrderOverviewPage.class).getAccessDecisionVoters().iterator().next().getName(),
                "org.apache.myfaces.extensions.cdi.jsf.test.impl.config.view.inline.pages.order.TestAccessDecisionVoter3");

        PageBeanDescriptor pageBeanDescriptor = ViewConfigCache.getViewConfigDescriptor(RegistrationStep01PageBean.class)
                .getPageBeanDescriptors().iterator().next();

        assertEquals(pageBeanDescriptor.getBeanClass(), RegistrationStep01PageBean.class);
        assertEquals(((LifecycleAwarePageBeanDescriptor)pageBeanDescriptor).getPreRenderViewMethods().size(), 1);
    }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.extensions.cdi.jsf.api.config.view.PageBeanDescriptor

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.