|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConfigurationBackend | |
---|---|
com.emarsys.ecommon.prefs.config | eCommon's Configuration API core classes (originally migrated from DW). |
com.emarsys.ecommon.prefs.config.backend | eCommon's Configuration API backends (originally migrated from DW). |
com.emarsys.ecommon.prefs.config.declaration | eCommon's Configuration API declaration parsers (migrated from DW). |
Uses of ConfigurationBackend in com.emarsys.ecommon.prefs.config |
---|
Classes in com.emarsys.ecommon.prefs.config that implement ConfigurationBackend | |
---|---|
class |
Configuration
A Configuration represents a generic storage
for settings which hold the configuration
of your system, module or some other software artifact. |
Methods in com.emarsys.ecommon.prefs.config that return ConfigurationBackend | |
---|---|
abstract ConfigurationBackend |
Configuration.Type.createConfigBackend(ConfigurationBackend config,
ConfigurationDeclaration declaration)
An abstract factory method that is used to initialze a Configuration 's backend according
to this Configuration.Type as well as the
ConfigurationDeclaration passed. |
ConfigurationBackend |
ConfigurationDeclaration.getDefaults()
Returns a ConfigurationBackend that holds all
default values defined in this ConfigurationDeclaration ,
if no such default values are defined an emtpy
ConfigurationBackend will be returned. |
Methods in com.emarsys.ecommon.prefs.config with parameters of type ConfigurationBackend | |
---|---|
abstract ConfigurationBackend |
Configuration.Type.createConfigBackend(ConfigurationBackend config,
ConfigurationDeclaration declaration)
An abstract factory method that is used to initialze a Configuration 's backend according
to this Configuration.Type as well as the
ConfigurationDeclaration passed. |
static Configuration |
Configuration.getInstance(ConfigurationBackend config,
ConfigurationDeclaration declaration)
Primary factory method for Configuration instances. |
static Configuration |
Configuration.getInstanceDeclaredBy(ConfigurationBackend config,
java.lang.Object declarationObj)
A factory method for Configuration s that uses
the passed "declaration object" to get its
ConfigurationDeclaration . |
static Configuration |
Configuration.getInstanceDeclaredBy(ConfigurationBackend config,
java.lang.Object declarationObj,
Configuration.Type type)
A factory method for Configuration s that uses
the passed "declaration object" to get its
ConfigurationDeclaration but overrides the
declaration objects Configuration.Type with the passed one. |
Constructors in com.emarsys.ecommon.prefs.config with parameters of type ConfigurationBackend | |
---|---|
Configuration(ConfigurationBackend backend,
ConfigurationDeclaration declaration)
|
Uses of ConfigurationBackend in com.emarsys.ecommon.prefs.config.backend |
---|
Fields in com.emarsys.ecommon.prefs.config.backend declared as ConfigurationBackend | |
---|---|
protected ConfigurationBackend |
ModeSettingConfigurationBackend.backend
|
protected ConfigurationBackend |
ImmutableConfigurationBackend.backend
|
protected ConfigurationBackend |
FallbackDefaultConfigurationBackend.defaults
|
protected ConfigurationBackend |
DefaultsConfigurationBackend.defaults
|
protected ConfigurationBackend |
FallbackDefaultConfigurationBackend.fallbackDefaults
|
protected ConfigurationBackend |
FallbackDefaultConfigurationBackend.fallbacks
|
static ConfigurationBackend |
NullConfigurationBackend.INSTANCE
|
protected ConfigurationBackend |
FallbackDefaultConfigurationBackend.primaries
|
protected ConfigurationBackend |
FallbackConfigurationBackend.primarySettings
|
protected ConfigurationBackend |
DefaultsConfigurationBackend.settings
|
protected ConfigurationBackend |
NamedConfigurationBackend.settings
|
Methods in com.emarsys.ecommon.prefs.config.backend that return ConfigurationBackend | |
---|---|
static ConfigurationBackend |
DefaultsConfigurationBackend.cascade(ConfigurationBackend... backends)
Creates a new DefaultsConfigurationBackend with the passed
ConfigurationBackend recursively cascaded as the defaults
of its predecessor. |
static ConfigurationBackend |
DefaultsConfigurationBackend.cascade(java.util.List<ConfigurationBackend> backends)
Creates a new DefaultsConfigurationBackend with the passed
ConfigurationBackend recursively cascaded as the defaults
of its predecessor. |
Methods in com.emarsys.ecommon.prefs.config.backend with parameters of type ConfigurationBackend | |
---|---|
static ConfigurationBackend |
DefaultsConfigurationBackend.cascade(ConfigurationBackend... backends)
Creates a new DefaultsConfigurationBackend with the passed
ConfigurationBackend recursively cascaded as the defaults
of its predecessor. |
static PropertiesConfigurationBackend |
PropertiesConfigurationBackend.copy(ConfigurationBackend backend)
Creates a new PropertiesConfigurationBackend
instance that contains all ISetting s from the
passed backend. |
static PropertiesConfigurationBackend |
SnapshotPropertiesConfigurationBackend.copy(ConfigurationBackend backend)
The same as SnapshotPropertiesConfigurationBackend.snapshoot(ConfigurationBackend) . |
static PropertiesConfigurationBackend |
SnapshotPropertiesConfigurationBackend.snapshoot(ConfigurationBackend backend)
Creates a new PropertiesConfigurationBackend
instance that contains all ISetting s from the
passed backend. |
Method parameters in com.emarsys.ecommon.prefs.config.backend with type arguments of type ConfigurationBackend | |
---|---|
static ConfigurationBackend |
DefaultsConfigurationBackend.cascade(java.util.List<ConfigurationBackend> backends)
Creates a new DefaultsConfigurationBackend with the passed
ConfigurationBackend recursively cascaded as the defaults
of its predecessor. |
Constructors in com.emarsys.ecommon.prefs.config.backend with parameters of type ConfigurationBackend | |
---|---|
DefaultsConfigurationBackend(ConfigurationBackend settings,
ConfigurationBackend defaults)
Creates a new DefaultsConfigurationBackend with the passed
settings and its defaults. |
|
FallbackConfigurationBackend(ConfigurationBackend primarySettings,
java.util.Map<java.lang.String,java.lang.String> fallbacks)
|
|
FallbackDefaultConfigurationBackend(ConfigurationBackend primarySettings,
ConfigurationBackend defaultSettings,
java.util.Map<java.lang.String,java.lang.String> fallbackNames)
|
|
ImmutableConfigurationBackend(ConfigurationBackend backend)
|
|
ModeSettingConfigurationBackend(ConfigurationBackend backend,
SettingMode mode)
|
|
NamedConfigurationBackend(java.lang.String name,
ConfigurationBackend settings)
|
Uses of ConfigurationBackend in com.emarsys.ecommon.prefs.config.declaration |
---|
Fields in com.emarsys.ecommon.prefs.config.declaration declared as ConfigurationBackend | |
---|---|
protected ConfigurationBackend |
GenericConfigurationDeclaration.defaults
|
Methods in com.emarsys.ecommon.prefs.config.declaration that return ConfigurationBackend | |
---|---|
ConfigurationBackend |
GenericConfigurationDeclaration.getDefaults()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |