I need to inject a java.utils.Properties instance into one of my beans. Is there a Spring class which will load the properties file and convert it into a java.utils.Properties instance, ready for injection?
I need to inject a java.utils.Properties instance into one of my beans. Is there
Share
Yes, using
<util:properties>(see documentation).Example: