Class CachedClassLoader

All Implemented Interfaces:
Closeable, AutoCloseable

public class CachedClassLoader extends URLClassLoader
Class loader for "plain-old Java" generated classes. Very basic implementation: allows defining a class from byte codes and finding the loaded classes. Delegates all other class requests to the thread context class loader. This structure ensures that a generated class can find both its own inner classes as well as all the standard Drill implementation classes.