Class ClasspathScannerImpl
java.lang.Object
org.apache.tapestry5.ioc.internal.services.ClasspathScannerImpl
- All Implemented Interfaces:
ClasspathScanner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscan
(String packagePath, ClasspathMatcher matcher) Scans the indicated package path for matches.
-
Constructor Details
-
ClasspathScannerImpl
-
-
Method Details
-
scan
Scans the indicated package path for matches.- Specified by:
scan
in interfaceClasspathScanner
- Parameters:
packagePath
- a package path (like a package name, but using '/' instead of '.', and ending with '/')matcher
- passed a resource path from the package (or a sub-package), returns true if the provided path should be included in the returned collection- Returns:
- collection of matching paths, in no specified order
- Throws:
IOException
-