dengbin19910916 opened a new issue #1973:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1973


   使用ElasticJobBootstrapConfiguration时如果Job class 被继承之后,应用启动报错,
   原因是:ElasticJobBootstrapConfiguration#registerClassedJob中获取elasticJob bean的代码 
ElasticJob elasticJob = 
applicationContext.getBean(jobConfigurationProperties.getElasticJobClass());只使用了elasticJobClass,而没有使用jobName。这个地方是否可以通过
 ElasticJob elasticJob = applicationContext.getBean(jobName, 
jobConfigurationProperties.getElasticJobClass());获取job 
bean,或者添加一个beanName协助获取唯一的job bean。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to