Top Description Fields Constructors Methods
org.glassfish.pfl.dynamic.codegen.impl

public Class CurrentClassLoader

extends Object
Class Inheritance
Imports
org.glassfish.pfl.dynamic.codegen.spi.Type, org.glassfish.pfl.dynamic.copyobject.spi.LibraryClassLoader

Class used to set and get the global class loader used by the codegen library. This is maintained in a ThreadLocal to avoid concurrency problems. All processing in the codegen library takes place in the same thread in any case.

Field Summary

Modifier and TypeField and Description
private static ThreadLocal<ClassLoader>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ClassLoader
get()

public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentback to summary
private static ThreadLocal<ClassLoader> current

Constructor Detail

CurrentClassLoaderback to summary
public CurrentClassLoader()

Method Detail

getback to summary
public static ClassLoader get()
setback to summary
public static void set(ClassLoader cl)