Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class org.jboss.seam.deployment.AbstractScanner
`servletContext`

Constructor Summary
`URLScanner(DeploymentStrategy deploymentStrategy)`

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 org.jboss.seam.deployment.AbstractScanner
`getDeploymentStrategy, handle, handleItem, hasAnnotations, loadClassFile`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### URLScanner

    public URLScanner(DeploymentStrategy deploymentStrategy)

Method Detail

### 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 scan
    `excludedDirectories` - 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.