Class FluxzeroPropertiesSource

java.lang.Object
io.fluxzero.common.application.JavaPropertiesSource
io.fluxzero.common.application.FluxzeroPropertiesSource
All Implemented Interfaces:
PropertySource

public class FluxzeroPropertiesSource extends JavaPropertiesSource
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:
  • Constructor Details

    • FluxzeroPropertiesSource

      public FluxzeroPropertiesSource()
      Creates a source backed by fluxzero.json and fluxzero.properties classpath resources.