public class

CustomizableThreadFactory

extends CustomizableThreadCreator
implements ThreadFactory
java.lang.Object
   ↳ org.springframework.util.CustomizableThreadCreator
     ↳ org.springframework.scheduling.concurrent.CustomizableThreadFactory
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Implementation of the JDK 1.5 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
From interface java.util.concurrent.ThreadFactory

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)