Package org.webharvest.utils
Interface ClassPathScanner
-
- All Known Implementing Classes:
ClassPathScannerImpl
public interface ClassPathScanner
Component capable of scanning types available on Java class path that meet certain criteria.- Since:
- 2.1.0-SNAPSHOT
- Version:
- %I%, %G%
- Author:
- Piotr Dyraga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Class<?>>
getTypesAnnotatedWith(Class<? extends Annotation> annotation)
ReturnsSet
of all types annotated with the given annotation.
-
-
-
Method Detail
-
getTypesAnnotatedWith
Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotation)
ReturnsSet
of all types annotated with the given annotation.- Parameters:
annotation
- desired type annotation- Returns:
- all types meeting annotation criteria
-
-