public class ConfluenceThreadLocalContextManager extends Object implements com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager.ThreadLocalContext>
Constructor and Description |
---|
ConfluenceThreadLocalContextManager() |
Modifier and Type | Method and Description |
---|---|
void |
clearThreadLocalContext()
Clear the thread local context on the current thread
|
com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager.ThreadLocalContext |
getThreadLocalContext()
Get the thread local context of the current thread
|
void |
setThreadLocalContext(com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager.ThreadLocalContext context)
Set the thread local context on the current thread
|
public com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager.ThreadLocalContext getThreadLocalContext()
getThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager.ThreadLocalContext>
public void setThreadLocalContext(com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager.ThreadLocalContext context)
setThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager.ThreadLocalContext>
context
- The context to setpublic void clearThreadLocalContext()
clearThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.sal.confluence.executor.ConfluenceThreadLocalContextManager.ThreadLocalContext>
Copyright © 2003–2015 Atlassian. All rights reserved.