Class AbstractFilesystemConfigurationPropertiesSource

java.lang.Object
org.opensaml.core.config.provider.AbstractFilesystemConfigurationPropertiesSource
All Implemented Interfaces:
ConfigurationPropertiesSource
Direct Known Subclasses:
SystemPropertyFilesystemConfigurationPropertiesSource

public abstract class AbstractFilesystemConfigurationPropertiesSource extends Object implements ConfigurationPropertiesSource
A configuration properties source implementation which obtains the properties set from a resource on the filesystem.

This is an abstract implementation. A concrete implementation must supply the filesystem path to use via the getFilename() method.

  • Field Details

    • cachedProperties

      private Properties cachedProperties
      Cache of properties.
    • log

      private org.slf4j.Logger log
      Logger.
  • Constructor Details

    • AbstractFilesystemConfigurationPropertiesSource

      public AbstractFilesystemConfigurationPropertiesSource()
  • Method Details

    • getProperties

      public Properties getProperties()
      Get the property set exposed by the source.
      Specified by:
      getProperties in interface ConfigurationPropertiesSource
      Returns:
      the properties set
    • getFilename

      protected abstract String getFilename()
      Get the configuration properties filename.
      Returns:
      the absolute filename