Class SpringPropertySource

java.lang.Object
io.fluxzero.sdk.configuration.spring.SpringPropertySource
All Implemented Interfaces:
io.fluxzero.common.application.PropertySource

public class SpringPropertySource extends Object implements io.fluxzero.common.application.PropertySource
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 Summary

    Fields inherited from interface io.fluxzero.common.application.PropertySource

    substitutionPattern
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.fluxzero.common.application.PropertySource

    andThen, containsProperty, get, getBoolean, getBoolean, require, substituteProperties
  • Constructor Details

    • SpringPropertySource

      public SpringPropertySource()
  • Method Details

    • get

      public String get(String name)
      Specified by:
      get in interface io.fluxzero.common.application.PropertySource