org.jboss.seam.deployment
Interface Scanner

All Known Implementing Classes:
AbstractScanner, ForwardingAbstractScanner, TimestampScanner, URLScanner

public interface Scanner

The Scanner is used to find resources to be processed by Seam The processing is done by DeploymentHandlers

Author:
Pete Muir

Method Summary
 DeploymentStrategy getDeploymentStrategy()
          Get the deployment strategy this scanner is used by
 long getTimestamp()
           
 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
 

Method Detail

scanDirectories

void scanDirectories(File[] directories)
Recursively scan directories, skipping directories in the exclusion list.

Parameters:
directories - An array of the roots of the directory trees to scan

scanDirectories

void scanDirectories(File[] directories,
                     File[] excludedDirectories)
Recursively scan directories, skipping directories in the exclusion list.

Parameters:
directories - An array of the roots of the directory trees to scan
excludedDirectories - Directories to skip over during the recursive scan

scanResources

void scanResources(String[] resources)
Scan for structures which contain any of the given resources in their root

Parameters:
resources - The resources to scan for

getDeploymentStrategy

DeploymentStrategy getDeploymentStrategy()
Get the deployment strategy this scanner is used by


getTimestamp

long getTimestamp()