com.atlassian.sal.core.executor
Interface ThreadLocalContextManager

All Known Implementing Classes:
BambooThreadLocalContextManager

public interface ThreadLocalContextManager

Manager for retrieving and storing a single object which represents all thread local state


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
 

Method Detail

getThreadLocalContext

Object getThreadLocalContext()
Get the thread local context of the current thread

Returns:
The thread local context

setThreadLocalContext

void setThreadLocalContext(Object context)
Set the thread local context on the current thread

Parameters:
context - The context to set

clearThreadLocalContext

void clearThreadLocalContext()
Clear the thread local context on the current thread



Copyright © 2010 Atlassian. All Rights Reserved.