|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opensymphony.oscache.util.ClassLoaderUtil
This code is borrowed directly from OSCore, but is duplicated here to avoid having to add a dependency on the entire OSCore jar.
If much more code from OSCore is needed then it might be wiser to bite the bullet and add a dependency.
| Constructor Summary | |
ClassLoaderUtil()
|
|
| Method Summary | |
static java.lang.Class |
loadClass(java.lang.String className,
java.lang.Class callingClass)
Load a class with a given name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassLoaderUtil()
| Method Detail |
public static java.lang.Class loadClass(java.lang.String className,
java.lang.Class callingClass)
throws java.lang.ClassNotFoundException
className - The name of the class to loadcallingClass - The Class object of the calling object
java.lang.ClassNotFoundException - If the class cannot be found anywhere.
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||