public class BundleURLScanner
extends org.jboss.weld.environment.servlet.deployment.URLScanner
URLScanner capable of running in an OSGi environment. This class allows Weld to actually
scan the contents of bundles it thinks may contain injectable classes. It does this by using
the overlord commons VFS service to crack open bundles as normal JAR files.| Constructor and Description |
|---|
BundleURLScanner(ClassLoader classLoader,
javax.servlet.ServletContext context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleURL(URL url,
Set<String> classes,
Set<URL> urls) |
void |
scanResources(String[] resources,
Set<String> classes,
Set<URL> urls) |
public BundleURLScanner(ClassLoader classLoader, javax.servlet.ServletContext context)
classLoader - context - Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.