Class ClassLoaderIntegration

  • public abstract class ClassLoaderIntegration
    extends java.lang.Object
    Internal utility class. Provides really low-level methods for integration of foreign class loading systems - e.g. OSGI.
    • Field Summary

      Modifier and Type Field Description
      protected static java.lang.ThreadLocal<java.util.Set<java.lang.Object>> traversal  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void attachTraversalCheck​(java.util.Set<java.lang.Object> t)
      Attach traversal state again
      static java.util.Set<java.lang.Object> suspendTraversalCheck()
      Suspend traversal checking.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • traversal

        protected static java.lang.ThreadLocal<java.util.Set<java.lang.Object>> traversal
    • Constructor Detail

      • ClassLoaderIntegration

        public ClassLoaderIntegration()
    • Method Detail

      • suspendTraversalCheck

        public static java.util.Set<java.lang.Object> suspendTraversalCheck()
        Suspend traversal checking. Typically around defineClass calls that initiate implicit class loading activities. Required to make sure that Z class loader traversal optimization will not prohibit class loading that is logically independent
      • attachTraversalCheck

        public static void attachTraversalCheck​(java.util.Set<java.lang.Object> t)
        Attach traversal state again