Merge branch '1.4.x' into 1.5.x
This commit is contained in:
commit
d9e2368512
|
|
@ -46,12 +46,12 @@ import org.springframework.core.io.ResourceLoader;
|
||||||
* new SpringApplicationBuilder(ParentConfig.class).child(ChildConfig.class).run(args);
|
* new SpringApplicationBuilder(ParentConfig.class).child(ChildConfig.class).run(args);
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* Another common use case is setting default arguments, e.g. active Spring profiles, to
|
* Another common use case is setting active profiles and default properties to set up the
|
||||||
* set up the environment for an application:
|
* environment for an application:
|
||||||
*
|
*
|
||||||
* <pre class="code">
|
* <pre class="code">
|
||||||
* new SpringApplicationBuilder(Application.class).profiles("server")
|
* new SpringApplicationBuilder(Application.class).profiles("server")
|
||||||
* .defaultArgs("--transport=local").run(args);
|
* .properties("transport=local").run(args);
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue