Class SpringPropertySource
java.lang.Object
io.fluxzero.sdk.configuration.spring.SpringPropertySource
- All Implemented Interfaces:
PropertySource
A
PropertySource implementation that delegates property lookups to a Spring Environment.
This allows Fluxzero components to access configuration properties managed by Spring's environment system.
- See Also:
-
Field Summary
Fields inherited from interface PropertySource
substitutionPattern -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PropertySource
andThen, containsProperty, get, getBoolean, getBoolean, getInteger, getInteger, require, substituteProperties, substituteProperties
-
Constructor Details
-
SpringPropertySource
public SpringPropertySource()
-
-
Method Details
-
get
Description copied from interface:PropertySourceRetrieves the value of a property by name.- Specified by:
getin interfacePropertySource- Parameters:
name- the name of the property to look up- Returns:
- the property value, or
nullif not found
-