Update 22.2. Customizing SpringApplication.md

master
qibaoguang 2015-05-18 16:49:58 +08:00
parent 64ea035bfa
commit 98cbd07f6f
1 changed files with 1 additions and 1 deletions

View File

@ -10,4 +10,4 @@ public static void main(String[] args){
```
**注**传递给SpringApplication的构造器参数是spring beans的配置源。在大多数情况下这些将是@Configuration类的引用但它们也可能是XML配置或要扫描包的引用。
你也可以使用application.properties文件来配置SpringApplication。具体参考[Externalized 配置](#Externalized 配置)。查看配置选项的完整列表,可参考[SpringApplication Javadoc](http://docs.spring.io/spring-boot/docs/1.2.2.BUILD-SNAPSHOT/api/org/springframework/boot/SpringApplication.html).
你也可以使用application.properties文件来配置SpringApplication。具体参考[Externalized 配置](23. Externalized Configuration.md)。查看配置选项的完整列表,可参考[SpringApplication Javadoc](http://docs.spring.io/spring-boot/docs/1.2.2.BUILD-SNAPSHOT/api/org/springframework/boot/SpringApplication.html).