Package org.jboss.weld.executor
Class DaemonThreadFactory
- java.lang.Object
-
- org.jboss.weld.executor.DaemonThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class DaemonThreadFactory extends Object implements ThreadFactory
ThreadFactorythat creates daemon threads so that Weld does not hang e.g. in a SE environment.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description DaemonThreadFactory(String threadNamePrefix)
-
-
-
Constructor Detail
-
DaemonThreadFactory
public DaemonThreadFactory(String threadNamePrefix)
-
-
Method Detail
-
newThread
public Thread newThread(Runnable r)
- Specified by:
newThreadin interfaceThreadFactory
-
-