Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.bootstrap.spi;
 import static java.util.Collections.emptyList;

Scanning is a data structures representing the <scan> element in Weld's extensions to beans.xml. See the XSD for Weld's extensions to beans.xml for details of the semantics of <scan>. Scanning contains an include Filter list and an exclude Filter list.

Pete Muir
public interface Scanning {
    Scanning EMPTY_SCANNING = new Scanning() {
        public Collection<Metadata<Filter>> getIncludes() {
            return emptyList();
        public Collection<Metadata<Filter>> getExcludes() {
            return emptyList();

The <include> element

    Collection<Metadata<Filter>> getIncludes();

The <exclude> element

New to GrepCode? Check out our FAQ X