Class FluxzeroPropertiesSource
java.lang.Object
io.fluxzero.common.application.JavaPropertiesSource
io.fluxzero.common.application.FluxzeroPropertiesSource
- All Implemented Interfaces:
PropertySource
A
PropertySource that loads Fluxzero-specific settings from classpath resources.
The source reads fluxzero.json and fluxzero.properties from the root of the classpath, merging all
matching resources across modules. JSON objects are flattened to dot-separated property names, so
{"validation":{"enabled":true}} becomes validation.enabled=true. Inside this source,
fluxzero.properties wins over fluxzero.json; the default Fluxzero property chain still lets
application.properties, application-<env>.properties, system properties, and environment variables
override these Fluxzero-specific defaults.
- See Also:
-
Field Summary
Fields inherited from interface PropertySource
substitutionPattern -
Constructor Summary
ConstructorsConstructorDescriptionCreates a source backed byfluxzero.jsonandfluxzero.propertiesclasspath resources. -
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, getInteger, getInteger, require, substituteProperties, substituteProperties
-
Constructor Details
-
FluxzeroPropertiesSource
public FluxzeroPropertiesSource()Creates a source backed byfluxzero.jsonandfluxzero.propertiesclasspath resources.
-