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 TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()protected voidloadValuesFromJNDI(String identifier) voidintsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
containsKeyin interfaceMap<String,String>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,String>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-