public class

CustomizableThreadFactory

extends CustomizableThreadCreator
java.lang.Object
   ↳ org.springframework.util.CustomizableThreadCreator
     ↳ org.springframework.scheduling.backportconcurrent.CustomizableThreadFactory
Known Direct Subclasses

Class Overview

Implementation of the JSR-166 backport edu.emory.mathcs.backport.java.util.concurrent.ThreadFactory interface, allowing for customizing the created threads (name, priority, etc).

See the base class CustomizableThreadCreator for details on the available configuration options.

Summary

Public Constructors
CustomizableThreadFactory()
Create a new CustomizableThreadFactory with default thread name prefix.
CustomizableThreadFactory(String threadNamePrefix)
Create a new CustomizableThreadFactory with the given thread name prefix.
Public Methods
Thread newThread(Runnable runnable)
[Expand]
Inherited Methods
From class org.springframework.util.CustomizableThreadCreator
From class java.lang.Object

Public Constructors

public CustomizableThreadFactory ()

Create a new CustomizableThreadFactory with default thread name prefix.

public CustomizableThreadFactory (String threadNamePrefix)

Create a new CustomizableThreadFactory with the given thread name prefix.

Parameters
threadNamePrefix the prefix to use for the names of newly created threads

Public Methods

public Thread newThread (Runnable runnable)