public class

ConfluenceThreadLocalContextManager

extends Object
implements ThreadLocalContextManager
java.lang.Object
   ↳ com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager

Class Overview

Manages all thread local state for Confluence

Summary

Public Constructors
ConfluenceThreadLocalContextManager()
Public Methods
void clearThreadLocalContext()
Clear the thread local context on the current thread
Object getThreadLocalContext()
Get the thread local context of the current thread
void setThreadLocalContext(Object context)
Set the thread local context on the current thread
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.sal.core.executor.ThreadLocalContextManager

Public Constructors

public ConfluenceThreadLocalContextManager ()

Public Methods

public void clearThreadLocalContext ()

Clear the thread local context on the current thread

public Object getThreadLocalContext ()

Get the thread local context of the current thread

Returns
  • The thread local context

public void setThreadLocalContext (Object context)

Set the thread local context on the current thread

Parameters
context The context to set