Merge branch 'master' of github.com:spring-projects/sts4

This commit is contained in:
Kris De Volder
2018-07-11 17:36:24 -07:00
23 changed files with 252 additions and 63 deletions

View File

@@ -30,4 +30,11 @@ public interface SpringBootApp {
Properties getSystemProperties() throws Exception;
JMXConnector getJmxConnector() throws MalformedURLException, IOException;
default String getSystemProperties(String string) throws Exception {
Object r = getSystemProperties().get(string);
if (r instanceof String) {
return (String) r;
}
return null;
}
}