Class FilePropertySource

java.lang.Object
org.springframework.core.env.PropertySource
org.apache.camel.spring.boot.FilePropertySource

public class FilePropertySource extends org.springframework.core.env.PropertySource
To load properties from files, such as a secret mounted to the container.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

    org.springframework.core.env.PropertySource.StubPropertySource
  • Field Summary

    Fields inherited from class org.springframework.core.env.PropertySource

    logger, name, source
  • Constructor Summary

    Constructors
    Constructor
    Description
    FilePropertySource(String name, org.springframework.context.ApplicationContext applicationContext, String directory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.springframework.core.env.PropertySource

    containsProperty, equals, getName, getSource, hashCode, named, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FilePropertySource

      public FilePropertySource(String name, org.springframework.context.ApplicationContext applicationContext, String directory)
  • Method Details

    • getProperty

      public Object getProperty(String name)
      Specified by:
      getProperty in class org.springframework.core.env.PropertySource