Package org.jboss.errai.reflections.scanners.override

Examples of org.jboss.errai.reflections.scanners.override.FilterTypeAnnotationsScanner


  class ValidationScanner extends Reflections {

    ValidationScanner() {
      super(new ConfigurationBuilder().setUrls(ClasspathHelper.forClassLoader())
        .setScanners(
            new FilterTypeAnnotationsScanner(
                    new SimplePackageFilter(PropertiesUtil.getPropertyValues(BLACKLIST_PROPERTY, "\\s"))),
            new FilterFieldAnnotationsScanner(
                    new SimplePackageFilter(PropertiesUtil.getPropertyValues(BLACKLIST_PROPERTY, "\\s")))));
      scan();
    }
View Full Code Here


    ValidationScanner() {
      super(new ConfigurationBuilder().setUrls(ClasspathHelper.forClassLoader())
      // Override default scanners
              .setScanners(
                      new FilterTypeAnnotationsScanner(new SimplePackageFilter(PropertiesUtil.getPropertyValues(
                              BLACKLIST_PROPERTY, "\\s"))),
                      new FilterFieldAnnotationsScanner(new SimplePackageFilter(PropertiesUtil.getPropertyValues(
                              BLACKLIST_PROPERTY, "\\s")))));
      scan();
    }
View Full Code Here

TOP

Related Classes of org.jboss.errai.reflections.scanners.override.FilterTypeAnnotationsScanner

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.