Some of my code was written before I decided to introduce Spring into my project. At the time, a few things were designed to use Java's built-in ServiceLoader
. At the moment, my code is Spring-based, but for one reason, or the other, I still have the ServiceLoader
code as it was. Clearly, I ran into sort of a minor issue with this and now I'm wondering if these two can co-exist, or if I need to totally scrap the ServiceLoader
stuff and Springify it.
dimanche 15 mars 2015
Is it a good idea/practice to use ServiceLoaders in a Spring container?
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire