Package com.saperion.ngc.configuration
Class JNDICombinedProperties
java.lang.Object
com.saperion.ngc.configuration.JNDICombinedProperties
Map with properties containing values from configuration files and from JNDI. If present, the values
read from JNDI will replace the ones read from config files.
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionJNDICombinedProperties
(Map<String, String> values, String identifier, boolean caseSensitive) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
isEmpty()
keySet()
protected void
loadValuesFromJNDI
(String identifier) void
int
size()
values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
JNDICombinedProperties
- Parameters:
values
- parameters from config filesidentifier
- identifier for JNDI resourcecaseSensitive
- case sensitivity required or not
-
-
Method Details
-
loadValuesFromJNDI
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
String>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
String>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-