/** * Load the settings from the given properties */ public void loadFromProperties(Properties properties) { // keep the properties used for configuration so that these are available for plugins this.properties = properties; PropertiesWrapper p = new PropertiesWrapper("ebean", name, properties); loadSettings(p); }
/** * Load the settings from the ebean.properties file. */ public void loadFromProperties() { ConfigPropertyMap p = new ConfigPropertyMap(name); loadSettings(p); }
/** * Load the settings from the ebean.properties file. */ public void loadFromProperties() { ConfigPropertyMap p = new ConfigPropertyMap(name); loadSettings(p); }
/** * Load settings from test-ebean.properties and do nothing if the properties is not found. * <p> * This is typically used when test-ebean.properties is put into the test class path and used * to configure Ebean for running tests. * </p> */ public void loadTestProperties() { Properties properties = PropertyMap.testProperties(); if (!properties.isEmpty()) { PropertiesWrapper p = new PropertiesWrapper("ebean", name, properties); loadSettings(p); } }