public class PropertyResolutionUtil extends Object
Implements a Property Resolution Process with the follow strategy:
1. map that defines overriding persistence properties (if any)
2. runtime arguments
3. environment variables
| Constructor and Description |
|---|
PropertyResolutionUtil() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getSystemJavaxPersistenceOverrides()
Resolves a Union of System.env and System.getProperties() where the KeyValue-Pairs of the later have precedence.
|
Map<String,String> |
persistencePropertiesOverrides(Map<String,String> overridingProperties)
Resolves a Union of System.env and System.getProperties() and overridingProperties where the KeyValue-Pairs of the later have the highest precedence.
|
public Map<String,String> getSystemJavaxPersistenceOverrides()
public Map<String,String> persistencePropertiesOverrides(Map<String,String> overridingProperties)
overridingProperties - overridingPropertiesPROP_FILTERCopyright © 2019. All rights reserved.