Package org.apache.openjpa.util
Class GeneratedClasses
- java.lang.Object
-
- org.apache.openjpa.util.GeneratedClasses
-
public class GeneratedClasses extends java.lang.Object
Utility methods when generating classes, including at runtime.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description GeneratedClasses()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ClassLoader
getMostDerivedLoader(java.lang.Class c1, java.lang.Class c2)
Return the more derived loader of the class laoders for the given classes.static java.lang.Class
loadAsmClass(java.lang.String className, byte[] classBytes, java.lang.Class<?> proxiedClass, java.lang.ClassLoader loader)
-
-
-
Method Detail
-
getMostDerivedLoader
public static java.lang.ClassLoader getMostDerivedLoader(java.lang.Class c1, java.lang.Class c2)
Return the more derived loader of the class laoders for the given classes.
-
loadAsmClass
public static java.lang.Class loadAsmClass(java.lang.String className, byte[] classBytes, java.lang.Class<?> proxiedClass, java.lang.ClassLoader loader)
-
-