Class SpringPropertySource

java.lang.Object
io.fluxcapacitor.javaclient.configuration.spring.SpringPropertySource
All Implemented Interfaces:
PropertySource

public class SpringPropertySource extends Object implements PropertySource
A PropertySource implementation that delegates property lookups to a Spring Environment.

This allows Flux Capacitor components to access configuration properties managed by Spring's environment system.

See Also:
  • Environment
  • Constructor Details

    • SpringPropertySource

      public SpringPropertySource()
  • Method Details

    • get

      public String get(String name)
      Description copied from interface: PropertySource
      Retrieves the value of a property by name.
      Specified by:
      get in interface PropertySource
      Parameters:
      name - the name of the property to look up
      Returns:
      the property value, or null if not found