Last active
February 9, 2017 21:42
-
-
Save autoletics/5980322610e52b33f70fe95ab08c1e00 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
public static void main(String... args) { | |
final Environment env = context().getEnvironment(); | |
out.printf("app.name: %s%n", | |
env.getString(name("app") | |
.name("name"))); | |
out.printf("app.id: %d%n", | |
env.getInt(name("app") | |
.name("id"))); | |
out.printf("agent.conf: %s%n", | |
env.getString(name("agent") | |
.name("conf"))); | |
out.printf("java.home: %s%n", | |
env.getString(name("java") | |
.name("home"))); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment