public class DaemonThreadFactory extends Object implements ThreadFactory
ThreadFactory
that creates daemon threads so that Weld does not hang e.g. in a SE environment.Constructor and Description |
---|
DaemonThreadFactory(ThreadGroup threadGroup,
String threadNamePrefix) |
public DaemonThreadFactory(ThreadGroup threadGroup, String threadNamePrefix)
public Thread newThread(Runnable r)
newThread
in interface ThreadFactory
Copyright © 2014. All Rights Reserved.