Class ClassRealm

All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
ClassRealmReverseAdapter, FilteredClassRealm

public class ClassRealm extends URLClassLoader
The class loading gateway. Each class realm has access to a base class loader, imports form zero or more other class loaders, an optional parent class loader and of course its own class path. When queried for a class/resource, a class realm will always query its base class loader first before it delegates to a pluggable strategy. The strategy in turn controls the order in which imported class loaders, the parent class loader and the realm itself are searched. The base class loader is assumed to be capable of loading of the bootstrap classes.
Author:
bob mcwhirter, Jason van Zyl