|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.sal.jira.executor.JiraThreadLocalContextManager
public class JiraThreadLocalContextManager
Manages the thread local state for JIRA
| Constructor Summary | |
|---|---|
JiraThreadLocalContextManager(JiraAuthenticationContext authenticationContext,
com.atlassian.multitenant.TenantReference tenantReference,
VelocityRequestContextFactory velocityRequestContextFactory)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JiraThreadLocalContextManager(JiraAuthenticationContext authenticationContext,
com.atlassian.multitenant.TenantReference tenantReference,
VelocityRequestContextFactory velocityRequestContextFactory)
| Method Detail |
|---|
public Object getThreadLocalContext()
getThreadLocalContext in interface com.atlassian.sal.core.executor.ThreadLocalContextManagerpublic void setThreadLocalContext(Object context)
setThreadLocalContext in interface com.atlassian.sal.core.executor.ThreadLocalContextManagercontext - The context to setpublic void clearThreadLocalContext()
clearThreadLocalContext in interface com.atlassian.sal.core.executor.ThreadLocalContextManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||