BundleContextProvider, NopContextProviderpublic interface ContextProvider
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
Removes all existing values from thread context.
|
java.lang.String |
get(java.lang.String key) |
Gets a value by key from thread context.
|
java.util.Map<java.lang.String,java.lang.String> |
getMapping() |
Gets a read-only copy with all values from thread context.
|
void |
put(java.lang.String key,
java.lang.Object value) |
Stores a value in thread context.
|
void |
remove(java.lang.String key) |
Removes a value from thread context.
|
java.util.Map<java.lang.String,java.lang.String> getMapping()
java.lang.String get(java.lang.String key)
key - Key of mappingnullvoid put(java.lang.String key,
java.lang.Object value)
key - Key of mappingvalue - Value of mappingvoid remove(java.lang.String key)
key - Key of mappingvoid clear()
Copyright © 2024. All rights reserved.