Class ThreadLocalUtil

java.lang.Object
org.apache.xmlbeans.ThreadLocalUtil

public class ThreadLocalUtil
extends Object
  • Constructor Details

  • Method Details

    • clearAllThreadLocals

      public static void clearAllThreadLocals()
      Clear ThreadLocals of the current thread. This can be used to clean out a thread before "returning" it to a thread-pool or a Web-Container like Tomcat.