1, write properties file
2, write configuration class
3, compile the project will target \ classes \ META-INF \ spring-configuration-metadata.json file copy to resources \ META-INF directory
so in order to achieve a configuration file automatically prompts configuration items
4, the configuration file is
5, other types of automatic injection may be used