eXo Kernel :: Component :: Common Service 2.5.0-Alpha2

org.exoplatform.services.threadpool.impl
Class DefaultThreadFactory

java.lang.Object
  extended by org.exoplatform.services.threadpool.impl.DefaultThreadFactory
All Implemented Interfaces:
ThreadFactoryIF

public class DefaultThreadFactory
extends Object
implements ThreadFactoryIF

This is a default thread factory that creates vanilla threads.


Constructor Summary
DefaultThreadFactory()
           
 
Method Summary
 Thread createThread(Runnable r)
          Return a Thread that runs the given Runnable object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultThreadFactory

public DefaultThreadFactory()
Method Detail

createThread

public Thread createThread(Runnable r)
Return a Thread that runs the given Runnable object.

Specified by:
createThread in interface ThreadFactoryIF

eXo Kernel :: Component :: Common Service 2.5.0-Alpha2

Copyright © 2013 eXo Platform SAS. All Rights Reserved.