You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Main goal of this class is to recursively call ClassPathAnnotationBasedScanner to get all found BeanDefinition's by provided configuration class. Recursively means if scanner will return BeanDefinition for another configuration with annotation to scan other packages then it should also search for BeanDefinitions in that other package. Class will return all recursively found BeanDefinitions found in all search packages.
Implementation note:
Parsing of configuration class could be done in separate class, this will improve readability and testing
class should have method that takes search class to parse and return collection of found BeanDefinitions, something like public List<BeanDefinition> parse(Class<?> configurationClass)
parse method should call itself if one of the found BeanDefinitions is configuration class
JoshukLite
changed the title
Create class for calling desired scanner
Create ConfigurationParser class for calling desired scanner
Nov 9, 2023
Class should decide what scanner should be used (including merge of results?), default scanner is ClassPathAnnotationBased scanner
The text was updated successfully, but these errors were encountered: