Package org.openl.spring.env
Class SysEnvRefPropertySource
-
public class SysEnvRefPropertySource extends org.springframework.core.env.SystemEnvironmentPropertySourceCustomizesSystemEnvironmentPropertySourceby removing `$` sing from begging of property token and wraps it with `_`.Example: foo.$bar -> foo._bar_ foo.$bar.gaz -> foo._bar_.gaz
Must be registered instead of default
SystemEnvironmentPropertySource- See Also:
StandardEnvironment
-
-
Constructor Summary
Constructors Constructor Description SysEnvRefPropertySource(Map<String,Object> source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetProperty(String name)-
Methods inherited from class org.springframework.core.env.SystemEnvironmentPropertySource
containsProperty, isSecurityManagerPresent, resolvePropertyName
-
-