Apache Tomcat 6.0.53

Class TcclThreadFactory

  extended by org.apache.catalina.tribes.util.TcclThreadFactory
All Implemented Interfaces:

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

ThreadFactory implementation that creates threads with the thread context class loader set to the class loader that loaded this factory. It is intended to be used when tasks may be passed to executors when the web application class loader is set as the thread context class loader, such as in async session replication.

Constructor Summary
Method Summary
 java.lang.Thread newThread(java.lang.Runnable r)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public TcclThreadFactory()
Method Detail


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

Apache Tomcat 6.0.53

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.