Package org.apache.axis2.util.threadpool
Class DefaultThreadFactory
- java.lang.Object
-
- org.apache.axis2.util.threadpool.DefaultThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class DefaultThreadFactory extends Object implements ThreadFactory
This is a simple ThreadFactory implementation using java.util.concurrent Creates threads with the given name prefix
-
-
Constructor Summary
Constructors Constructor Description DefaultThreadFactory(ThreadGroup group, String namePrefix)
-
-
-
Constructor Detail
-
DefaultThreadFactory
public DefaultThreadFactory(ThreadGroup group, String namePrefix)
-
-
Method Detail
-
newThread
public Thread newThread(Runnable runnable)
- Specified by:
newThread
in interfaceThreadFactory
-
-