public final class ThreadLocalConfigurationPropertiesHolder extends Object
ThreadLocal
copy of a Properties
instance.Modifier and Type | Field and Description |
---|---|
private static ThreadLocal<Properties> |
properties
ThreadLocal storage for the properties set.
|
Modifier | Constructor and Description |
---|---|
private |
ThreadLocalConfigurationPropertiesHolder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
clear()
Clear the thread-local configuration Properties instance.
|
static Properties |
getProperties()
Get the thread-local configuration Properties instance.
|
static void |
setProperties(Properties newProperties)
Set the thread-local configuration Properties instance.
|
@Nonnull private static ThreadLocal<Properties> properties
private ThreadLocalConfigurationPropertiesHolder()
public static Properties getProperties()
public static void setProperties(Properties newProperties)
newProperties
- the new thread-local Properties instancepublic static void clear()
Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.