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 Properties
Cache of properties.private org.slf4j.Logger
Logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
Get the configuration properties filename.Get the property set exposed by the source.
-
Field Details
-
cachedProperties
Cache of properties. -
log
private org.slf4j.Logger logLogger.
-
-
Constructor Details
-
AbstractFilesystemConfigurationPropertiesSource
public AbstractFilesystemConfigurationPropertiesSource()
-
-
Method Details
-
getProperties
Get the property set exposed by the source.- Specified by:
getProperties
in interfaceConfigurationPropertiesSource
- Returns:
- the properties set
-
getFilename
Get the configuration properties filename.- Returns:
- the absolute filename
-