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 Summary
Fields Modifier and Type Field Description private PropertiescachedPropertiesCache of properties.private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description AbstractFilesystemConfigurationPropertiesSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringgetFilename()Get the configuration properties filename.PropertiesgetProperties()Get the property set exposed by the source.
-
-
-
Field Detail
-
cachedProperties
private Properties cachedProperties
Cache of properties.
-
log
private org.slf4j.Logger log
Logger.
-
-
Method Detail
-
getProperties
public Properties getProperties()
Get the property set exposed by the source.- Specified by:
getPropertiesin interfaceConfigurationPropertiesSource- Returns:
- the properties set
-
getFilename
protected abstract String getFilename()
Get the configuration properties filename.- Returns:
- the absolute filename
-
-