kingkh1995 opened a new pull request, #2307:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/2307

   Fixes   
   [#2014](https://github.com/apache/shardingsphere-elasticjob/issues/2014)
   
   Changes proposed in this pull request:
   - **ElasticJobBootstrapConfiguration**
   
   cause of issue:
   the bean which is registered in method afterSingletonsInstantiated  can't be 
autowired, because autowire is earlier than afterSingletonsInstantiated  which 
is executed by AutowiredAnnotationBeanPostProcessor.
   
   solution:
   OneOffBootStrap need to be registered before autowire phase, and 
AutowiredAnnotationBeanPostProcessor is a MergedBeanDefinitionPostProcessor 
bean, so ElasticJobBootstrapConfiguration need to be a 
MergedBeanDefinitionPostProcessor bean too, and OneOffBootStrap should be 
registered after ElasticJobBootstrapConfiguration initialized immediately.


-- 
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: notifications-unsubscr...@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to