EclipseLink1.0 - 20080707 API Reference

org.eclipse.persistence.sdo.helper
Class SDOClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by 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)
           
 
Method Summary
 java.lang.Class createGeneric(java.lang.String className, SDOType type)
           
 java.lang.ClassLoader getDelegateLoader()
           
 java.net.URL getResource(java.lang.String name)
           
 java.io.InputStream getResourceAsStream(java.lang.String name)
           
 java.util.Enumeration getResources(java.lang.String name)
           
 java.lang.Class loadClass(java.lang.String className)
           
 java.lang.Class loadClass(java.lang.String className, SDOType type)
           
 void setDelegateLoader(java.lang.ClassLoader delegateLoader)
           
 
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
 

Constructor Detail

SDOClassLoader

public SDOClassLoader(java.lang.ClassLoader delegateLoader,
                      commonj.sdo.helper.HelperContext aContext)
Method Detail

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

EclipseLink1.0 - 20080707 API Reference