org.apache.openjpa.util
Class GeneratedClasses
java.lang.Object
   org.apache.openjpa.util.GeneratedClasses
org.apache.openjpa.util.GeneratedClasses
- public class GeneratedClasses 
- extends java.lang.Object
Utility methods when generating classes, including at runtime.
- Since:
- 1.0.0
 
| Method Summary | 
| 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 | loadBCClass(serp.bytecode.BCClass bc,
            java.lang.ClassLoader loader)Load the class represented by the given bytecode.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GeneratedClasses
public GeneratedClasses()
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.
 
- 
 
loadBCClass
public static java.lang.Class loadBCClass(serp.bytecode.BCClass bc,
                                          java.lang.ClassLoader loader)
- Load the class represented by the given bytecode.
 
- 
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.