forklift
forklift copied to clipboard
Annotation Scanning for Classes that have SubClasses
The reflections library isn't doing a good job of scanning annotations when lambdas are used in consumers because of the way the jdk builds them into subclasses. We'll need to dig a little to see if reflections is just setup wrong, or if we need a different solution for annotation scanning.
I looked at using spring via a generic context, and I think we'd have a hard time using it do to classloader isolation. Spring's classloader bean definition scanner doesn't allow a url set to scan so it attempts to load classes that are outside the sandboxed classloader.
what about ClassPathScanningCandidateComponentProvider