public class ContextualThreadFactory<C> extends Object implements ThreadFactory
ThreadFactory decorator that contextualizes its threads.| Constructor and Description |
|---|
ContextualThreadFactory(ThreadFactory factory,
C targetContext,
ThreadContextReference<C> reference) |
public ContextualThreadFactory(ThreadFactory factory, C targetContext, ThreadContextReference<C> reference)
public Thread newThread(Runnable task)
newThread in interface ThreadFactoryCopyright © 2020 JBoss by Red Hat. All rights reserved.