I have an app that loads its properties from an external location. I defined a bean, which implements PropertyPlaceholderConfigurer and resolves all placeholders. But I want to make sure this bean is initialized before all beans that have placeholders to resolve.
I can add many "depends-on" attributes, but it looks kind of ugly. Is there a more elegant way to do so?
Aucun commentaire:
Enregistrer un commentaire