Can you please tell me how to use Spring Javaconfig to directly load/autowire a properties file to a java.util.Properties field?
Thanks!
Later edit - st
It is an old subject but there are also a more basic solution.
@Configuration public class MyConfig { @Bean public Properties myPropertyBean() { Properties properties = new Properties(); properties.load(...); return properties; } }