Search in sources :

Example 6 with BeanArchiveBuilder

use of org.jboss.weld.environment.deployment.discovery.BeanArchiveBuilder in project core by weld.

the class JandexFileSystemBeanArchiveHandler method handle.

@Override
public BeanArchiveBuilder handle(String path) {
    BeanArchiveBuilder builder = super.handle(path);
    if (builder == null) {
        return null;
    }
    builder.setAttribute(Jandex.INDEX_ATTRIBUTE_NAME, buildIndex());
    return builder;
}
Also used : BeanArchiveBuilder(org.jboss.weld.environment.deployment.discovery.BeanArchiveBuilder)

Aggregations

BeanArchiveBuilder (org.jboss.weld.environment.deployment.discovery.BeanArchiveBuilder)6 File (java.io.File)1 IOException (java.io.IOException)1 InputStream (java.io.InputStream)1 URL (java.net.URL)1 ArrayList (java.util.ArrayList)1 ZipFile (java.util.zip.ZipFile)1 ZipInputStream (java.util.zip.ZipInputStream)1 Index (org.jboss.jandex.Index)1 IndexView (org.jboss.jandex.IndexView)1 Test (org.junit.Test)1