|
|
@ -69,6 +69,7 @@ public class ScheduleConfig extends ThreadPoolTaskScheduler implements BeanDefin
|
|
|
|
|
|
|
|
|
|
|
|
private int registryTask(String basePackage, BeanDefinitionRegistry beanDefinitionRegistry) {
|
|
|
|
private int registryTask(String basePackage, BeanDefinitionRegistry beanDefinitionRegistry) {
|
|
|
|
ClassPathBeanDefinitionScanner classPathBeanDefinitionScanner = new ClassPathBeanDefinitionScanner(beanDefinitionRegistry);
|
|
|
|
ClassPathBeanDefinitionScanner classPathBeanDefinitionScanner = new ClassPathBeanDefinitionScanner(beanDefinitionRegistry);
|
|
|
|
|
|
|
|
classPathBeanDefinitionScanner.resetFilters(false);
|
|
|
|
classPathBeanDefinitionScanner.addIncludeFilter(new AssignableTypeFilter(RunTask.class));
|
|
|
|
classPathBeanDefinitionScanner.addIncludeFilter(new AssignableTypeFilter(RunTask.class));
|
|
|
|
classPathBeanDefinitionScanner.setBeanNameGenerator(new BeanNameGenerator() {
|
|
|
|
classPathBeanDefinitionScanner.setBeanNameGenerator(new BeanNameGenerator() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|