Class SystemPropertiesSource
java.lang.Object
io.fluxzero.common.application.JavaPropertiesSource
io.fluxzero.common.application.SystemPropertiesSource
- All Implemented Interfaces:
PropertySource
A
PropertySource implementation that reads configuration properties from the JVM system properties.
This source delegates to System.getProperties() to retrieve key-value pairs. It allows for application
configuration using the -Dkey=value syntax when starting the JVM.
Example:
java -Dmy.config.value=42 -jar my-app.jar
This value could then be resolved via PropertySource#get("my.config.value").
- See Also:
-
Field Summary
Fields inherited from interface PropertySource
substitutionPattern -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JavaPropertiesSource
getMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PropertySource
andThen, containsProperty, get, getBoolean, getBoolean, require, substituteProperties, substituteProperties
-
Constructor Details
-
SystemPropertiesSource
public SystemPropertiesSource()
-