org.jboss.weld.bootstrap.spi.Scanning Maven / Gradle / Ivy
package org.jboss.weld.bootstrap.spi;
import static java.util.Collections.emptyList;
import java.util.Collection;
/**
*
* 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>. {@link Scanning} contains an include {@link Filter}
* list and an exclude {@link Filter} list.
*
*
* @author Pete Muir
*
*/
public interface Scanning {
Scanning EMPTY_SCANNING = new Scanning() {
public Collection> getIncludes() {
return emptyList();
}
public Collection> getExcludes() {
return emptyList();
}
};
/**
* The <include> element
*
* @return the include element
*/
Collection> getIncludes();
/**
* The <exclude> element
*
* @return the exclude element
*/
Collection> getExcludes();
}