public class ContextPropagatingThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
ThreadFactory
that propagates a Context
from the creating
thread into the new thread. This factory creates daemon threads.Constructor and Description |
---|
ContextPropagatingThreadFactory(java.lang.String name) |
ContextPropagatingThreadFactory(java.lang.String name,
int priority) |
Modifier and Type | Method and Description |
---|---|
java.lang.Thread |
newThread(java.lang.Runnable r) |