public interface ClasspathResourceScanner
An implementation of this interface is responsible for collecting classpath resources.
Modifier and Type | Method and Description |
---|---|
Set<String> |
scanClassNamesAnnotatedBy(Class<? extends Annotation> annotationType,
boolean matchSuperClass,
String... locationPatterns)
Scans classpath from the location specified by
locationPatterns
for all class names which annotates the speified annotationType . |
Set<String> scanClassNamesAnnotatedBy(Class<? extends Annotation> annotationType, boolean matchSuperClass, String... locationPatterns)
locationPatterns
for all class names which annotates the speified annotationType
.
Note: An implementation is recommended to support locationPattern
with classpath*:
prefix at least
like the following example:
annotationType
- matchSuperClass
- locationPatterns
- Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.