Package org.apache.myfaces.extensions.cdi.jsf.impl.config.view.spi

Examples of org.apache.myfaces.extensions.cdi.jsf.impl.config.view.spi.PageBeanConfigEntry


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

        PageBeanConfigEntry pageBeanConfigEntry = ViewConfigCache.getViewDefinition(RegistrationStep01PageBean.class)
                .getPageBeanDefinitions().iterator().next();

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


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

        PageBeanConfigEntry pageBeanConfigEntry = ViewConfigCache.getViewDefinition(RegistrationStep01PageBean.class)
                .getPageBeanDefinitions().iterator().next();

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

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

        PageBeanConfigEntry pageBeanConfigEntry = ViewConfigCache.getViewDefinition(RegistrationStep01PageBean.class)
                .getPageBeanDefinitions().iterator().next();

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

    public void addPageBean(Class pageBeanClass)
    {
        List<PageBeanConfigEntry> newList = new ArrayList<PageBeanConfigEntry>(this.beanDefinition);

        PageBeanConfigEntry newEntry = new DefaultPageBeanConfigEntry(getBeanName(pageBeanClass) , pageBeanClass);

        newList.add(newEntry);

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

    public void addPageBean(Class pageBeanClass)
    {
        List<PageBeanConfigEntry> newList = new ArrayList<PageBeanConfigEntry>(this.beanDefinition);

        PageBeanConfigEntry newEntry = new DefaultPageBeanConfigEntry(getBeanName(pageBeanClass) , pageBeanClass);

        newList.add(newEntry);

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

TOP

Related Classes of org.apache.myfaces.extensions.cdi.jsf.impl.config.view.spi.PageBeanConfigEntry

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.