public class ThreadStaticCalculationContextStorageStrategy extends Object implements ICalculationContextStorageStrategy
ICalculationContextStorageStrategy that gets the context from a
 thread static member variable.  Thus, each thread has its own context.| Constructor and Description | 
|---|
ThreadStaticCalculationContextStorageStrategy()
Initializes a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CalculationContext | 
getContext()
Gets the  
CalculationContext for the current thread. | 
void | 
setContext(CalculationContext context)
Sets the  
CalculationContext for the current thread. | 
public ThreadStaticCalculationContextStorageStrategy()
@Nonnull public final CalculationContext getContext()
CalculationContext for the current thread.
 
    If the thread does not yet have a CalculationContext, the
    DefaultForNewContexts (get / set) is used.
getContext in interface ICalculationContextStorageStrategypublic final void setContext(CalculationContext context)
CalculationContext for the current thread.setContext in interface ICalculationContextStorageStrategycontext - The context to use.