org.apache.axis2.transport.base.threads
Class NativeThreadFactory

java.lang.Object
  extended by org.apache.axis2.transport.base.threads.NativeThreadFactory
All Implemented Interfaces:
java.util.concurrent.ThreadFactory

public class NativeThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory

This is a simple ThreadFactory implementation using java.util.concurrent Creates threads with the given name prefix


Constructor Summary
NativeThreadFactory(java.lang.ThreadGroup group, java.lang.String namePrefix)
           
 
Method Summary
 java.lang.Thread newThread(java.lang.Runnable runnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeThreadFactory

public NativeThreadFactory(java.lang.ThreadGroup group,
                           java.lang.String namePrefix)
Method Detail

newThread

public java.lang.Thread newThread(java.lang.Runnable runnable)
Specified by:
newThread in interface java.util.concurrent.ThreadFactory


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.