Created
August 26, 2016 20:11
-
-
Save fitzoh/a4784bfd7dd00440699f48a8831817e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application: | |
primary: | |
config: | |
foo: primaryfoo | |
bar: primaryboo | |
secondary: | |
config: | |
foo: secondaryfoo | |
bar: secondaryboo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ConfigurationProperties("*.config")?? | |
public class Config { | |
private String foo; | |
private String bar; | |
public String getFoo() { | |
return foo; | |
} | |
public void setFoo(String foo) { | |
this.foo = foo; | |
} | |
public String getBar() { | |
return bar; | |
} | |
public void setBar(String bar) { | |
this.bar = bar; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment