public class DefaultBeanArchiveScanner extends Object implements BeanArchiveScanner
Modifier and Type | Field and Description |
---|---|
protected org.jboss.weld.bootstrap.api.Bootstrap |
bootstrap |
protected org.jboss.weld.resources.spi.ResourceLoader |
resourceLoader |
Constructor and Description |
---|
DefaultBeanArchiveScanner(org.jboss.weld.resources.spi.ResourceLoader resourceLoader,
org.jboss.weld.bootstrap.api.Bootstrap bootstrap) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(org.jboss.weld.bootstrap.spi.BeansXml beansXml) |
protected String |
getBeanArchiveReference(URL url) |
protected String |
getBeanArchiveReferenceForJar(String path,
URL fallback) |
Map<org.jboss.weld.bootstrap.spi.BeansXml,String> |
scan()
Scans for bean archives identified by beans.xml files.
|
protected final org.jboss.weld.resources.spi.ResourceLoader resourceLoader
protected final org.jboss.weld.bootstrap.api.Bootstrap bootstrap
public DefaultBeanArchiveScanner(org.jboss.weld.resources.spi.ResourceLoader resourceLoader, org.jboss.weld.bootstrap.api.Bootstrap bootstrap)
resourceLoader
- bootstrap
- public Map<org.jboss.weld.bootstrap.spi.BeansXml,String> scan()
BeanArchiveScanner
scan
in interface BeanArchiveScanner
BeansXml
representations mapped to the bean archive reference (the root path of the bean archive)protected boolean accept(org.jboss.weld.bootstrap.spi.BeansXml beansXml)
protected String getBeanArchiveReference(URL url)
url
- URISyntaxException
Copyright © 2016. All rights reserved.