@Deprecated public class MultiMapConfigurationSource<K,V> extends Object implements ConfigurationSource<K,V>
ConfigurationSource
wrapper for accessing Map
s and Properties
Map
of key values.NAMESPACE_DELIM
Constructor and Description |
---|
MultiMapConfigurationSource()
Deprecated.
|
MultiMapConfigurationSource(Map<String,Map<K,V>> map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<K,V> |
get(String namespace)
Deprecated.
Get a Map of key name and corresponding
IConfiguration for the specific namespace. |
V |
get(String namespace,
K key)
Deprecated.
|
V |
get(User user,
String namespace,
K key)
Deprecated.
Get a configuration in the context to a
User |
Map<String,Map<K,V>> |
getMap()
Deprecated.
Define a Map of naneSpace string to Map of configurations for that namespace
|
void |
setMap(Map<String,Map<K,V>> map)
Deprecated.
Define a Map of naneSpace string to Map of configurations for that namespace
|
public V get(String namespace, K key)
get
in interface ConfigurationSource<K,V>
namespace
- as Stringkey
- as Kpublic V get(User user, String namespace, K key)
ConfigurationSource
User
get
in interface ConfigurationSource<K,V>
public Map<String,Map<K,V>> getMap()
public void setMap(Map<String,Map<K,V>> map)
public Map<K,V> get(String namespace)
ConfigurationSource
IConfiguration
for the specific namespace.
get
in interface ConfigurationSource<K,V>
namespace
- as StringIConfiguration
Copyright © 2018. All rights reserved.