iceblue164
New Member
I have two projects included into my \[code\]genxml\[/code\] project, \[code\]framework1\[/code\] and \[code\]framework2\[/code\]. \[code\]Framework2\[/code\] is an updated version of \[code\]framework1\[/code\] and they both have the class \[code\]AbstractScreenTest.class\[/code\]. Is there anyway in the code below I can specify which project I want to interact with?\[code\]ClassPathScanningCandidateComponentProvider provider = new ClassPathScanningCandidateComponentProvider(true);provider.addIncludeFilter(new AssignableTypeFilter(AbstractScreenTest.class));Set<BeanDefinition> components = provider.findCandidateComponents(candiatePackage);for (BeanDefinition component : components){ cls = Class.forName(component.getBeanClassName()); classList.add(cls.getName().toString());}\[/code\]