public class ContextPropagatingThreadFactory extends Object implements ThreadFactory
ThreadFactory
that propagates a Context
from the creating
thread into the new thread. This factory creates daemon threads.Constructor and Description |
---|
ContextPropagatingThreadFactory(String name) |
ContextPropagatingThreadFactory(String name,
int priority) |
public ContextPropagatingThreadFactory(String name, int priority)
public ContextPropagatingThreadFactory(String name)
public Thread newThread(Runnable r)
newThread
in interface ThreadFactory
Copyright © 2016. All rights reserved.