# Interface JexlContext.ThreadLocal

All Superinterfaces:
  `JexlContext`

Enclosing interface:
  `JexlContext`

public static interface JexlContext.ThreadLocal extends JexlContext
A marker interface of the `JexlContext` that indicates the interpreter to put this context in the `JexlEngine` thread local context instance during evaluation.

This allows user functions or methods to access the context during a call. Note that the usual caveats regarding using thread local apply (caching, leaking references, and so on); in particular, keeping a reference to such a context is to be considered with great care and caution. It should also be noted that sharing such a context between threads should implicate synchronizing variable accessing the implementation class.

Since:
  1.0
See Also:
  - `JexlEngine.setThreadContext(JexlContext.ThreadLocal)`
  - `JexlEngine.getThreadContext()`

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface JexlContext

  `JexlContext.AnnotationProcessor, JexlContext.CancellationHandle, JexlContext.ClassNameResolver, JexlContext.ModuleProcessor, JexlContext.NamespaceFunctor, JexlContext.NamespaceResolver, JexlContext.OptionsHandle, JexlContext.PragmaProcessor, JexlContext.ThreadLocal`

- ## Method Summary

  ### Methods inherited from interface JexlContext

  `get, has, set`