Created
March 17, 2016 23:37
-
-
Save norbertpotocki/eac0a927ca2df45c2a0b to your computer and use it in GitHub Desktop.
Direct configuration injection (won’t reload as config changes)
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
String defaultQuery = configurationProvider.getProperty("search.defaultQuery", String.class); | |
if(queryEmpty()) { | |
return defaultQuery; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment