org.glassfish.pfl.dynamic.codegen.impl
Class CurrentClassLoader

java.lang.Object
  extended by org.glassfish.pfl.dynamic.codegen.impl.CurrentClassLoader

public class CurrentClassLoader
extends Object

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.


Constructor Summary
CurrentClassLoader()
           
 
Method Summary
static ClassLoader get()
           
static void set(ClassLoader cl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentClassLoader

public CurrentClassLoader()
Method Detail

get

public static ClassLoader get()

set

public static void set(ClassLoader cl)


Copyright © 2013 Oracle. All Rights Reserved.