public final class AppSettings
extends com.helger.commons.scope.singleton.AbstractGlobalSingleton
smp.webapp.properties.path is defined, the
configuration file is read from the absolute path stated there. Otherwise (by
default) the configuration settings contained in the
src/main/resources/webapp.properties file are read.| Modifier and Type | Field and Description |
|---|---|
static String |
FILENAME
The name of the classpath resource containing the settings
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getDataPath() |
static String |
getGlobalDebug() |
static String |
getGlobalProduction() |
static com.helger.settings.ISettings |
getSettingsObject() |
static com.helger.commons.io.resource.IReadableResource |
getSettingsResource() |
static boolean |
isCheckFileAccess() |
static boolean |
isTestVersion() |
getAllGlobalSingletons, getGlobalSingleton, getGlobalSingletonIfInstantiated, isGlobalSingletonInstantiatedgetAllSingletons, getSingleton, getSingletonIfInstantiated, getSingletonScopeKey, isDestroyed, isInDestruction, isInInstantiation, isInPreDestruction, isInstantiated, isSingletonInstantiated, isUsableObject, onAfterInstantiation, onBeforeDestroy, onBeforeScopeDestruction, onDestroy, onScopeDestruction, readAbstractSingletonFields, setDestroyed, setInDestruction, setInInstantiation, setInPreDestruction, setInstantiated, toString, writeAbstractSingletonFieldspublic static final String FILENAME
@Nonnull public static com.helger.settings.ISettings getSettingsObject()
@Nonnull public static com.helger.commons.io.resource.IReadableResource getSettingsResource()
public static boolean isCheckFileAccess()
public static boolean isTestVersion()
Copyright © 2015–2016 Philip Helger. All rights reserved.