Class SystemPropertiesSource
java.lang.Object
io.fluxcapacitor.common.application.JavaPropertiesSource
io.fluxcapacitor.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 io.fluxcapacitor.common.application.PropertySource
substitutionPattern
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.fluxcapacitor.common.application.JavaPropertiesSource
get
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.fluxcapacitor.common.application.PropertySource
andThen, containsProperty, get, getBoolean, getBoolean, require, substituteProperties
-
Constructor Details
-
SystemPropertiesSource
public SystemPropertiesSource()
-