- All Implemented Interfaces:
- org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
public class YamlFileApplicationContextInitializer
extends Object
implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
Yaml file initializer to load the specified yaml configuration file,
by default the Spring will load the application.yml file.
In order to avoid possible overwritten by users' default yaml configuration file.