org.jboss.weld.environment.se.discovery
Class URLScanner
java.lang.Object
org.jboss.weld.environment.se.discovery.AbstractScanner
org.jboss.weld.environment.se.discovery.URLScanner
- All Implemented Interfaces:
- Scanner
public class URLScanner
- extends AbstractScanner
Implementation of Scanner which can scan a URLClassLoader
- Author:
- Thomas Heute, Gavin King, Norman Richards, Pete Muir
|
Method Summary |
protected void |
handle(java.util.Set<java.lang.String> paths)
|
void |
scanDirectories(java.io.File[] directories)
Recursively scan directories. |
void |
scanResources(java.lang.String[] resources)
Scan for structures which contain any of the given resources in their root |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLScanner
public URLScanner(java.lang.ClassLoader classLoader,
SEWeldDiscovery webBeanDiscovery)
scanDirectories
public void scanDirectories(java.io.File[] directories)
- Description copied from interface:
Scanner
- Recursively scan directories.
- Parameters:
directories - An array of the roots of the directory trees to scan
scanResources
public void scanResources(java.lang.String[] resources)
- Description copied from interface:
Scanner
- Scan for structures which contain any of the given resources in their root
- Parameters:
resources - The resources to scan for
handle
protected void handle(java.util.Set<java.lang.String> paths)
Copyright © 2008-2009 Seam Framework. All Rights Reserved.