|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectix.util.context.ContextHoldingStrategy
ix.util.context.ThreadLocalHoldingStrategy
ix.util.context.InheritableThreadLocalHoldingStrategy
public class InheritableThreadLocalHoldingStrategy
A context-holding strategy that associates context-holders with threads, with inheritance from the parent thread. Although the holder for a thread is inherited from the thread's parent, it may be explicitly set to a different value.
| Field Summary |
|---|
| Fields inherited from class ix.util.context.ThreadLocalHoldingStrategy |
|---|
threadContextHolder |
| Constructor Summary | |
|---|---|
InheritableThreadLocalHoldingStrategy()
|
|
| Method Summary | |
|---|---|
protected ContextHolder |
initialHolder()
Called to create a holder for a thread that doesn't already have one. |
| Methods inherited from class ix.util.context.ThreadLocalHoldingStrategy |
|---|
clearContexts, getContextHolder, setContextHolder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InheritableThreadLocalHoldingStrategy()
| Method Detail |
|---|
protected ContextHolder initialHolder()
SynchronizedContextHolder.
initialHolder in class ThreadLocalHoldingStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||