com.atlassian.sal.bamboo.executor
Class BambooThreadLocalContextManager

java.lang.Object
  extended by com.atlassian.sal.bamboo.executor.BambooThreadLocalContextManager
All Implemented Interfaces:
com.atlassian.sal.core.executor.ThreadLocalContextManager

public class BambooThreadLocalContextManager
extends java.lang.Object
implements com.atlassian.sal.core.executor.ThreadLocalContextManager


Constructor Summary
BambooThreadLocalContextManager()
           
 
Method Summary
 void clearThreadLocalContext()
          Clear the thread local context on the current thread
 java.lang.Object getThreadLocalContext()
          Get the thread local context of the current thread
 void setThreadLocalContext(java.lang.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

BambooThreadLocalContextManager

public BambooThreadLocalContextManager()
Method Detail

getThreadLocalContext

public java.lang.Object getThreadLocalContext()
Get the thread local context of the current thread

Specified by:
getThreadLocalContext in interface com.atlassian.sal.core.executor.ThreadLocalContextManager
Returns:
The thread local context

setThreadLocalContext

public void setThreadLocalContext(java.lang.Object context)
Set the thread local context on the current thread

Specified by:
setThreadLocalContext in interface com.atlassian.sal.core.executor.ThreadLocalContextManager
Parameters:
context - The context to set

clearThreadLocalContext

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

Specified by:
clearThreadLocalContext in interface com.atlassian.sal.core.executor.ThreadLocalContextManager


Copyright © 2011 Atlassian. All Rights Reserved.