You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/04/27 13:20:19 UTC

[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1882: How do elasticjob listeners inject beans in spring?

TeslaCN commented on issue #1882:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1882#issuecomment-827601067


   Hi @kaihekaihe 
   The listener doesn't support inject spring beans for now. Consider lazily retrieving beans by some static context holder.
   We're thinking about that replace SPI factory with Spring containers if the Spring dependencies present.


-- 
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.

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