/** * Parse the string replacing any expressions like ${catalina.base}. * <p> * This will evaluate expressions using first environment variables, than java * system variables and lastly properties in ebean.properties - in that order. * </p> * <p> * Expressions start with "${" and end with "}". * </p> */ public static String evaluateExpressions(String val) { return getPropertyMap().eval(val); }
/** * Parse the string replacing any expressions like ${catalina.base}. * <p> * This will evaluate expressions using first environment variables, * than java system variables and lastly properties in ebean.properties * - in that order. * </p> * <p> * Expressions start with "${" and end with "}". * </p> */ public static String evaluateExpressions(String val) { return getPropertyMap().eval(val); }
/** * Go through all the properties and evaluate any expressions that have not * been resolved. */ public void evaluateProperties() { for (Entry<String, String> e : entrySet()) { String key = e.getKey(); String val = e.getValue(); String eval = eval(val); if (eval != null && !eval.equals(val)) { put(key, eval); } } }
/** * Go through all the properties and evaluate any expressions that have not * been resolved. */ public void evaluateProperties() { for (Entry<String, String> e : entrySet()) { String key = e.getKey(); String val = e.getValue(); String eval = eval(val); if (eval != null && !eval.equals(val)) { put(key, eval); } } }
/** * Go through all the properties and evaluate any expressions that have not * been resolved. */ public void evaluateProperties() { for (Entry<String, String> e : entrySet()) { String key = e.getKey(); String val = e.getValue(); String eval = eval(val); if (eval != null && !eval.equals(val)) { put(key, eval); } } }