Class SpringPropertySource

java.lang.Object
io.fluxzero.sdk.configuration.spring.SpringPropertySource

public class SpringPropertySource extends Object
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:
  • Environment
  • Field Details

    • substitutionPattern

      static final Pattern substitutionPattern
  • Constructor Details

    • SpringPropertySource

      public SpringPropertySource()
  • Method Details

    • get

      public String get(String name)
    • getBoolean

      default boolean getBoolean(String arg0)
    • getBoolean

      default boolean getBoolean(String arg0, boolean arg1)
    • getInteger

      default Integer getInteger(String arg0)
    • getInteger

      default Integer getInteger(String arg0, Integer arg1)
    • get

      default String get(String arg0, String arg1)
    • require

      default String require(String arg0)
    • containsProperty

      default boolean containsProperty(String arg0)
    • substituteProperties

      default String substituteProperties(String arg0)
    • substituteProperties

      default Properties substituteProperties(Properties arg0)
    • andThen

      default io.fluxzero.common.application.PropertySource andThen(io.fluxzero.common.application.PropertySource arg0)