Package io.micronaut.core.io.scan
Class BeanIntrospectionScanner
- java.lang.Object
-
- io.micronaut.core.io.scan.BeanIntrospectionScanner
-
- All Implemented Interfaces:
AnnotationScanner
@Internal public class BeanIntrospectionScanner extends java.lang.Object implements AnnotationScanner
An implementation ofAnnotationScanner
that scans availableBeanIntrospection
instances through theBeanIntrospector
API.- Since:
- 3.0.0
-
-
Constructor Summary
Constructors Constructor Description BeanIntrospectionScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<java.lang.Class<?>>
scan(java.lang.String annotation, java.lang.String pkg)
Scan the given packages.
-
-
-
Method Detail
-
scan
@NonNull public java.util.stream.Stream<java.lang.Class<?>> scan(@NonNull java.lang.String annotation, @NonNull java.lang.String pkg)
Description copied from interface:AnnotationScanner
Scan the given packages.- Specified by:
scan
in interfaceAnnotationScanner
- Parameters:
annotation
- The annotation to scan forpkg
- The package to scan- Returns:
- A stream of classes
-
-