com.avaje.ebean.config
Interface GlobalProperties.PropertySource
- Enclosing class:
- GlobalProperties
public static interface GlobalProperties.PropertySource
getServerName
String getServerName()
- Return the name of the server. This is also the dataSource name.
get
String get(String key,
String defaultValue)
- Get a property. This will prepend "ebean" and the server name to lookup
the value.
getInt
int getInt(String key,
int defaultValue)
getBoolean
boolean getBoolean(String key,
boolean defaultValue)
getEnum
<T extends Enum<T>> T getEnum(Class<T> enumType,
String key,
T defaultValue)
Copyright © 2012. All Rights Reserved.