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
FieldsModifier and TypeFieldDescriptionprivate PropertiesCache of properties.private org.slf4j.LoggerLogger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringGet the configuration properties filename.Get the property set exposed by the source.
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger. -
cachedProperties
Cache of properties.
-
-
Constructor Details
-
AbstractFilesystemConfigurationPropertiesSource
public AbstractFilesystemConfigurationPropertiesSource()
-
-
Method Details
-
getProperties
Get the property set exposed by the source.- Specified by:
getPropertiesin interfaceConfigurationPropertiesSource- Returns:
- the properties set or null
-
getFilename
Get the configuration properties filename.- Returns:
- the absolute filename
-