com.atlassian.sal.bamboo.executor
Class BambooThreadLocalContextManager

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

public class BambooThreadLocalContextManager
extends Object
implements ThreadLocalContextManager


Constructor Summary
BambooThreadLocalContextManager()
           
 
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

BambooThreadLocalContextManager

public BambooThreadLocalContextManager()
Method Detail

getThreadLocalContext

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

Specified by:
getThreadLocalContext in interface ThreadLocalContextManager
Returns:
The thread local context

setThreadLocalContext

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

Specified by:
setThreadLocalContext in interface 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 ThreadLocalContextManager


Copyright © 2010 Atlassian. All Rights Reserved.