com.sun.jersey.spi.scanning
Class WebAppResourcesScanner
java.lang.Object
com.sun.jersey.spi.scanning.WebAppResourcesScanner
- All Implemented Interfaces:
- Scanner
public class WebAppResourcesScanner
- extends Object
- implements Scanner
A scanner that recursively scans resources within a Web application.
- Author:
- Paul.Sandoz@Sun.Com
Method Summary |
void |
scan(ScannerListener cfl)
Perform a scan and report resources to a scanning listener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebAppResourcesScanner
public WebAppResourcesScanner(String[] paths,
javax.servlet.ServletContext sc)
- Scan from a set of web resource paths.
- Parameters:
paths
- an array of web resource paths.sc
-
scan
public void scan(ScannerListener cfl)
- Description copied from interface:
Scanner
- Perform a scan and report resources to a scanning listener.
- Specified by:
scan
in interface Scanner
- Parameters:
cfl
- the scanning listener to report entries.
Copyright © 2013 Oracle Corporation. All Rights Reserved.