Class ClasspathConfigurationPropertiesSource
- java.lang.Object
-
- org.opensaml.core.config.provider.ClasspathConfigurationPropertiesSource
-
- All Implemented Interfaces:
ConfigurationPropertiesSource
public class ClasspathConfigurationPropertiesSource extends Object implements ConfigurationPropertiesSource
A configuration properties source implementation which obtains the properties set from a resource on the class path.
-
-
Field Summary
Fields Modifier and Type Field Description private PropertiescachedPropertiesCache of properties.private org.slf4j.LoggerlogLogger.private static StringRESOURCE_NAMEConfiguration properties resource name.
-
Constructor Summary
Constructors Constructor Description ClasspathConfigurationPropertiesSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertiesgetProperties()Get the property set exposed by the source.
-
-
-
Field Detail
-
RESOURCE_NAME
@Nonnull private static final String RESOURCE_NAME
Configuration properties resource name.- See Also:
- Constant Field Values
-
log
@Nonnull private org.slf4j.Logger log
Logger.
-
cachedProperties
private Properties cachedProperties
Cache of properties.
-
-
Method Detail
-
getProperties
public Properties getProperties()
Get the property set exposed by the source.- Specified by:
getPropertiesin interfaceConfigurationPropertiesSource- Returns:
- the properties set
-
-