org.jboss.seam.deployment
Class URLScanner
java.lang.Object
org.jboss.seam.deployment.AbstractScanner
org.jboss.seam.deployment.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 |
long |
getTimestamp()
|
protected void |
handle(Set<String> paths)
|
void |
scanDirectories(File[] directories)
Recursively scan directories, skipping directories in the exclusion list. |
void |
scanDirectories(File[] directories,
File[] excludedDirectories)
Recursively scan directories, skipping directories in the exclusion list. |
void |
scanResources(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(DeploymentStrategy deploymentStrategy)
scanDirectories
public void scanDirectories(File[] directories)
- Description copied from interface:
Scanner
- Recursively scan directories, skipping directories in the exclusion list.
- Parameters:
directories
- An array of the roots of the directory trees to scan
scanDirectories
public void scanDirectories(File[] directories,
File[] excludedDirectories)
- Description copied from interface:
Scanner
- Recursively scan directories, skipping directories in the exclusion list.
- Specified by:
scanDirectories
in interface Scanner
- Overrides:
scanDirectories
in class AbstractScanner
- Parameters:
directories
- An array of the roots of the directory trees to scanexcludedDirectories
- Directories to skip over during the recursive scan
scanResources
public void scanResources(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(Set<String> paths)
getTimestamp
public long getTimestamp()
- Specified by:
getTimestamp
in interface Scanner
- Overrides:
getTimestamp
in class AbstractScanner