org.eclipse.persistence.sdo.helper
Class SDOClassLoader
java.lang.Object
java.lang.ClassLoader
org.eclipse.persistence.sdo.helper.SDOClassLoader
public class SDOClassLoader
- extends java.lang.ClassLoader
Purpose: A custom classloader used to dynamically create classes as needed.
Constructor Summary |
SDOClassLoader(java.lang.ClassLoader delegateLoader,
commonj.sdo.helper.HelperContext aContext)
|
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SDOClassLoader
public SDOClassLoader(java.lang.ClassLoader delegateLoader,
commonj.sdo.helper.HelperContext aContext)
loadClass
public java.lang.Class loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
- Overrides:
loadClass
in class java.lang.ClassLoader
- Throws:
java.lang.ClassNotFoundException
loadClass
public java.lang.Class loadClass(java.lang.String className,
SDOType type)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
createGeneric
public java.lang.Class createGeneric(java.lang.String className,
SDOType type)
setDelegateLoader
public void setDelegateLoader(java.lang.ClassLoader delegateLoader)
getDelegateLoader
public java.lang.ClassLoader getDelegateLoader()
getResource
public java.net.URL getResource(java.lang.String name)
- Overrides:
getResource
in class java.lang.ClassLoader
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String name)
- Overrides:
getResourceAsStream
in class java.lang.ClassLoader
getResources
public java.util.Enumeration getResources(java.lang.String name)
throws java.io.IOException
- Overrides:
getResources
in class java.lang.ClassLoader
- Throws:
java.io.IOException