Class SpringPropertiesProvider
java.lang.Object
com.sap.cds.framework.spring.config.runtime.SpringPropertiesProvider
- All Implemented Interfaces:
PropertiesProvider
A
PropertiesProvider
exposing access to all Spring properties.-
Constructor Summary
ConstructorsConstructorDescriptionSpringPropertiesProvider
(org.springframework.core.env.Environment environment) -
Method Summary
Modifier and TypeMethodDescription<T> T
bindPropertyClass
(String section, Class<T> clazz) <T> T
getProperty
(String key, Class<T> clazz, T defaultValue) getProperty
(String key, String defaultValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cds.services.environment.PropertiesProvider
getProperty, getProperty, hasProperty
-
Constructor Details
-
SpringPropertiesProvider
public SpringPropertiesProvider(org.springframework.core.env.Environment environment)
-
-
Method Details
-
bindPropertyClass
- Specified by:
bindPropertyClass
in interfacePropertiesProvider
-
getProperty
- Specified by:
getProperty
in interfacePropertiesProvider
-
getProperty
- Specified by:
getProperty
in interfacePropertiesProvider
-