org.hippoecm.hst.util
Interface ClasspathResourceScanner

All Known Implementing Classes:
MetadataReaderClasspathResourceScanner, SpringMetadataReaderClasspathResourceScanner

public interface ClasspathResourceScanner

ClasspathResourceScanner

An implementation of this interface is responsible for collecting classpath resources.

Version:
$Id$

Method Summary
 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.
 

Method Detail

scanClassNamesAnnotatedBy

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.

Note: An implementation is recommended to support locationPattern with classpath*: prefix at least like the following example:

Parameters:
annotationType -
matchSuperClass -
locationPatterns -
Returns:


Copyright © 2008-2012 Hippo. All Rights Reserved.