Class ClassLoaderIntegration
- java.lang.Object
-
- com.zfabrik.components.java.internal.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.- Author:
- hb
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.ThreadLocal<java.util.Set<java.lang.Object>>
traversal
-
Constructor Summary
Constructors Constructor Description ClassLoaderIntegration()
-
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 againstatic java.util.Set<java.lang.Object>
suspendTraversalCheck()
Suspend traversal checking.
-
-
-
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
-
-