|
|
|
@ -81,7 +81,7 @@ public class XxlJobSpringExecutor extends XxlJobExecutor implements ApplicationC
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// init job handler from method
|
|
|
|
|
String[] beanDefinitionNames = applicationContext.getBeanDefinitionNames();
|
|
|
|
|
String[] beanDefinitionNames = applicationContext.getBeanNamesForType(Object.class, false, true);
|
|
|
|
|
for (String beanDefinitionName : beanDefinitionNames) {
|
|
|
|
|
Object bean = applicationContext.getBean(beanDefinitionName);
|
|
|
|
|
|
|
|
|
|