org.jboss.weld.bootstrap.spi.Scanning Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weld-osgi-bundle Show documentation
Show all versions of weld-osgi-bundle Show documentation
Weld runtime packaged as an OSGi bundle
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
{
public static final Scanning EMPTY_SCANNING = new Scanning()
{
public Collection> getIncludes()
{
return emptyList();
}
public Collection> getExcludes()
{
return emptyList();
}
};
/**
* The <include> element
*
* @return
*/
public Collection> getIncludes();
/**
* The <exclude> element
*
* @return
*/
public Collection> getExcludes();
}