| Package | Description |
|---|---|
| nl.talsmasoftware.context |
This package contains the core concepts of this context-propagation library.
|
| nl.talsmasoftware.context.threadlocal |
| Modifier and Type | Method and Description |
|---|---|
Context<T> |
ContextManager.getActiveContext()
This method returns the current context, or
null if no context is currently active. |
Context<T> |
ContextManager.initializeNewContext(T value)
This method initializes a new context containing the specified
value. |
Context<Void> |
ContextSnapshot.reactivate()
This method activates all contained values by the snapshot in their respective
Context implementations. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractThreadLocalContext<T>
Abstract base class that will maintain a shared, static
ThreadLocal instance for each concrete
subclass of this type. |
| Modifier and Type | Field and Description |
|---|---|
protected Context<T> |
AbstractThreadLocalContext.parentContext
The parent context that was active at the time this context was created (if any)
or
null in case there was no active context when this context was created. |
Copyright © 2016–2017 Talsma ICT. All rights reserved.