org.jboss.seam.deployment
public class URLScanner extends AbstractScanner
Scanner
which can scan a URLClassLoader
servletContext
Constructor and Description |
---|
URLScanner(DeploymentStrategy deploymentStrategy) |
Modifier and Type | Method and Description |
---|---|
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
|
getDeploymentStrategy, handle, handleItem, hasAnnotations, loadClassFile
public URLScanner(DeploymentStrategy deploymentStrategy)
public void scanDirectories(File[] directories)
Scanner
directories
- An array of the roots of the directory trees to scanpublic void scanDirectories(File[] directories, File[] excludedDirectories)
Scanner
scanDirectories
in interface Scanner
scanDirectories
in class AbstractScanner
directories
- An array of the roots of the directory trees to scanexcludedDirectories
- Directories to skip over during the recursive scanpublic void scanResources(String[] resources)
Scanner
resources
- The resources to scan forpublic long getTimestamp()
getTimestamp
in interface Scanner
getTimestamp
in class AbstractScanner
Copyright © 2015 Seam Framework. All Rights Reserved.