Share on Google+Share on Google+

Java Thread Context

Advertisement
Java Thread Context: Every Thread required a context classloader to set a thread using Thread.setContextClassLoader() method.

Thread Context

     

The Thread Context is required by the current thread from the group of threads to execute. In java this is achieved through the ThreadContext class. ThreadContext are class loaders.  This class is extended from the java.lang.Object.  They were introduced in J2SE specifications. This class is essential for the development of the thread pools


Every Thread required a context classloader to set a thread using Thread.setContextClassLoader() method.

The ThreadContext class is required for thread specific debugging information to be stored. This class is essential for the development of the asynchronous invocation frameworks, for the common tasks to execute in form of generic asynchronous threads on behalf of invokers that initiate them from other threads.

Advertisements

Advertisement

Posted on: April 6, 2005 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Comments:0