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
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
- Parameters:
directories
- An array of the roots of the directory trees to 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