org.postgresql.pljava.sqlj
Class Loader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.postgresql.pljava.sqlj.Loader

public class Loader
extends java.lang.ClassLoader


Method Summary
protected  java.lang.Class findClass(java.lang.String name)
           
static java.lang.ClassLoader getSchemaLoader(java.lang.String schemaName)
          Obtain a loader that has been configured for the class path of the schema named schemaName.
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSchemaLoader

public static java.lang.ClassLoader getSchemaLoader(java.lang.String schemaName)
                                             throws java.sql.SQLException
Obtain a loader that has been configured for the class path of the schema named schemaName. Class paths are defined using the SQL procedure sqlj.set_classpath.

Parameters:
schemaName - The name of the schema.
Returns:
A loader.
Throws:
java.sql.SQLException

findClass

protected java.lang.Class findClass(java.lang.String name)
                             throws java.lang.ClassNotFoundException
Overrides:
findClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException


Copyright (c) 2003, 2004 TADA AB - Taby Sweden. Distributed under the terms shown in COPYRIGHT