public class JiraThreadLocalContextManager extends Object implements com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
| Constructor and Description |
|---|
JiraThreadLocalContextManager(JiraAuthenticationContext authenticationContext,
VelocityRequestContextFactory velocityRequestContextFactory,
JiraTenantContext tenantContext,
SpanningOperationHolder spanningOperationHolder,
ScopesRequestCacheDelegate scopesRequestCacheDelegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearThreadLocalContext()
Clear the thread local context on the current thread
|
com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext |
getThreadLocalContext()
Get the thread local context of the current thread
|
void |
setThreadLocalContext(com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext context)
Set the thread local context on the current thread
|
public JiraThreadLocalContextManager(JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory velocityRequestContextFactory, JiraTenantContext tenantContext, SpanningOperationHolder spanningOperationHolder, ScopesRequestCacheDelegate scopesRequestCacheDelegate)
public com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext getThreadLocalContext()
getThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>public void setThreadLocalContext(com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext context)
setThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>context - The context to setpublic void clearThreadLocalContext()
clearThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>Copyright © 2002-2022 Atlassian. All Rights Reserved.