Annotation Interface EncryptablePropertySource


Encryptable version of Spring PropertySource
Version:
$Id: $Id
Author:
Ulises Bocchio
See Also:
  • PropertySource
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Indicate the resource location(s) of the properties file to be loaded.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Indicate if failure to find the a property resource should be ignored.
    Indicate the name of this property source.
  • Element Details

    • value

      String[] value
      Indicate the resource location(s) of the properties file to be loaded. For example, "classpath:/com/myco/app.properties" or "file:/path/to/file".

      Resource location wildcards (e.g. **/*.properties) are not permitted; each location must evaluate to exactly one .properties resource.

      ${...} placeholders will be resolved against any/all property sources already registered with the Environment. See above for examples.

      Each location will be added to the enclosing Environment as its own property source, and in the order declared.

    • name

      String name
      Indicate the name of this property source. If omitted, a name will be generated based on the description of the underlying resource.
      See Also:
      • PropertySource.getName()
      • Resource.getDescription()
      Default:
      ""
    • ignoreResourceNotFound

      boolean ignoreResourceNotFound
      Indicate if failure to find the a property resource should be ignored.

      true is appropriate if the properties file is completely optional. Default is false.

      Default:
      false