public class ApplicationPropertiesServiceImpl extends java.lang.Object implements ApplicationPropertiesService
RS_PROPERTIES_FILE_NAME, RS_PROPERTIES_OVERRIDE_FILE_NAME
Constructor and Description |
---|
ApplicationPropertiesServiceImpl(PropertiesUtils propertiesUtils,
HookHandlerService HookHandlerService) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(java.lang.String key) |
boolean |
getBoolean(java.lang.String key,
boolean defaultValue) |
java.lang.Integer |
getInteger(java.lang.String key) |
java.lang.Integer |
getInteger(java.lang.String key,
int defaultValue) |
java.util.List<java.lang.String> |
getList(java.lang.String key) |
java.lang.Long |
getLong(java.lang.String key) |
java.lang.Long |
getLong(java.lang.String key,
java.lang.Long defaultValue) |
Configuration |
getProperties() |
java.lang.String |
getString(java.lang.String key) |
java.lang.String |
getString(java.lang.String key,
java.lang.String defaultValue) |
public ApplicationPropertiesServiceImpl(PropertiesUtils propertiesUtils, HookHandlerService HookHandlerService)
public Configuration getProperties()
getProperties
in interface ApplicationPropertiesService
public java.lang.String getString(java.lang.String key)
getString
in interface ApplicationPropertiesService
public java.lang.String getString(java.lang.String key, java.lang.String defaultValue)
getString
in interface ApplicationPropertiesService
public java.util.List<java.lang.String> getList(java.lang.String key)
getList
in interface ApplicationPropertiesService
public java.lang.Long getLong(java.lang.String key)
getLong
in interface ApplicationPropertiesService
public java.lang.Long getLong(java.lang.String key, java.lang.Long defaultValue)
getLong
in interface ApplicationPropertiesService
public java.lang.Integer getInteger(java.lang.String key)
getInteger
in interface ApplicationPropertiesService
public java.lang.Integer getInteger(java.lang.String key, int defaultValue)
getInteger
in interface ApplicationPropertiesService
public boolean getBoolean(java.lang.String key)
getBoolean
in interface ApplicationPropertiesService
public boolean getBoolean(java.lang.String key, boolean defaultValue)
getBoolean
in interface ApplicationPropertiesService