public class ApplicationConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_DEFAULT_SINGLE_INSTANCE_PORT_PROPERTY_NAME |
static String |
APPLICATION_PROPERTIES_FILE_PATH |
Constructor and Description |
---|
ApplicationConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultSingleInstancePort() |
double |
getDoubleProperty(String key,
double defaultValue,
String errorMessageFormat) |
Integer |
getIntegerProperty(String key,
Integer defaultValue,
String errorMessageFormat) |
double |
getPositiveDoubleProperty(String key,
double defaultValue,
String errorMessageFormat) |
String |
getStringProperty(String key) |
boolean |
isSingleInstanceApplication() |
public static final String APPLICATION_PROPERTIES_FILE_PATH
public static final String APPLICATION_DEFAULT_SINGLE_INSTANCE_PORT_PROPERTY_NAME
public double getDoubleProperty(String key, double defaultValue, String errorMessageFormat)
public double getPositiveDoubleProperty(String key, double defaultValue, String errorMessageFormat)
public Integer getIntegerProperty(String key, Integer defaultValue, String errorMessageFormat)
public boolean isSingleInstanceApplication()
public int getDefaultSingleInstancePort()
Copyright © 2012–2017 Drombler. All rights reserved.