public class ClassLoaderSorter
extends java.lang.Object
This is required to create a dynamic proxy when the interfaces it implements are not in the same class loader.
TODO: The current implementation assumes that all classes are in the same ClassLoader hierarchy but doesn't validate this. It should.
Constructor and Description |
---|
ClassLoaderSorter() |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
getTopLoader(java.lang.Class<?>[] forClasses)
Find the highest required ClassLoader.
|