public class EbeanParsedConfig
extends java.lang.Object
Constructor and Description |
---|
EbeanParsedConfig(java.lang.String defaultDatasource,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> datasourceModels) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getDatasourceModels() |
java.lang.String |
getDefaultDatasource() |
static EbeanParsedConfig |
parseFromConfig(com.typesafe.config.Config config)
Parse a play configuration.
|
static EbeanParsedConfig |
parseFromConfig(Configuration configuration)
Deprecated.
Configuration was deprecated in Play 2.6 in favor of Config . Use parseFromConfig(Config) |
public EbeanParsedConfig(java.lang.String defaultDatasource, java.util.Map<java.lang.String,java.util.List<java.lang.String>> datasourceModels)
public java.lang.String getDefaultDatasource()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getDatasourceModels()
@Deprecated public static EbeanParsedConfig parseFromConfig(Configuration configuration)
Configuration
was deprecated in Play 2.6 in favor of Config
. Use parseFromConfig(Config)
configuration
- play configurationpublic static EbeanParsedConfig parseFromConfig(com.typesafe.config.Config config)
config
- play configurationConfig