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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultThreadFactory
public DefaultThreadFactory(ThreadGroup group,
String namePrefix)
newThread
public Thread newThread(Runnable runnable)
- Specified by:
newThread
in interface ThreadFactory
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.