public class ClasspathScannerUtils extends Object
| Constructor and Description |
|---|
ClasspathScannerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Set<Class<?>> |
findOnClassPath(ClassLoader classLoader,
String packageName,
List<Class<?>> exclusions,
List<Class<?>> selectors)
Scans the classpath for classes based on the provided arguments
|
static Set<Class<?>> |
findOnClassPath(String packageName,
List<Class<?>> exclusions,
List<Class<?>> selectors)
Scans the classpath for classes based on the provided arguments
|
public static Set<Class<?>> findOnClassPath(String packageName, List<Class<?>> exclusions, List<Class<?>> selectors)
packageName - the package to be scannedexclusions - a list with classes excluded from the resultselectors - a list with annotation and interface classes that identify classes
to be found (lookup criteria)public static Set<Class<?>> findOnClassPath(ClassLoader classLoader, String packageName, List<Class<?>> exclusions, List<Class<?>> selectors)
classLoader - the classloader which should be used for searching.packageName - the package to be scannedexclusions - a list with classes excluded from the resultselectors - a list with annotation and interface classes that identify classes
to be found (lookup criteria)Copyright © 2022 Apache Software Foundation. All rights reserved.