Class ThreadContextClassLoaderReference
java.lang.Object
org.wildfly.clustering.context.ThreadContextReference<ClassLoader>
org.wildfly.clustering.context.ThreadContextClassLoaderReference
- All Implemented Interfaces:
Consumer<ClassLoader>, Function<ClassLoader, ClassLoader>, Supplier<ClassLoader>, UnaryOperator<ClassLoader>, ContextReference<ClassLoader>
Thread-aware reference for a context
ClassLoader.- Author:
- Paul Ferraro
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ContextReference<ClassLoader> A context reference for the class loader of the current thread -
Constructor Summary
ConstructorsConstructorDescriptionThreadContextClassLoaderReference(Supplier<Thread> reference) Constructs a context class loader reference for a given thread provider. -
Method Summary
Methods inherited from class ThreadContextReference
accept, getMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContextReference
apply, provide
-
Field Details
-
CURRENT
A context reference for the class loader of the current thread
-
-
Constructor Details
-
ThreadContextClassLoaderReference
-