Package org.jboss.weld.metadata

Examples of org.jboss.weld.metadata.FilterPredicate$PrefixMatcher


    public void testExclusionFilters1() {
        BeansXml xml = getBeansXml("cdi11-exclude-beans1.xml");
        Collection<Metadata<Filter>> filters = xml.getScanning().getExcludes();
        assertEquals(filters.size(), 3);
        for (Metadata<Filter> filter : filters) {
            new FilterPredicate(filter, DefaultResourceLoader.INSTANCE);
        }
    }
View Full Code Here


    public void testExclusionFilters2() {
        BeansXml xml = getBeansXml("cdi11-exclude-beans2.xml");
        Collection<Metadata<Filter>> filters = xml.getScanning().getExcludes();
        assertEquals(filters.size(), 1);
        for (Metadata<Filter> filter : filters) {
            new FilterPredicate(filter, DefaultResourceLoader.INSTANCE);
        }
    }
View Full Code Here

            final ResourceLoader resourceLoader = beanDeployer.getResourceLoader();

            @Override
            public Predicate<String> apply(Metadata<Filter> from) {
                return new FilterPredicate(from, resourceLoader);
            }

        };
        Collection<String> classNames;
        if (getBeanDeploymentArchive().getBeansXml() != null && getBeanDeploymentArchive().getBeansXml().getScanning() != null) {
View Full Code Here

TOP

Related Classes of org.jboss.weld.metadata.FilterPredicate$PrefixMatcher

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.