pljava 1.0.0

org.postgresql.pljava.sqlj
Class Loader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byorg.postgresql.pljava.sqlj.Loader

public class Loader
extends java.lang.ClassLoader

Author:
Thomas Hallgren

Nested Class Summary
 
Nested classes inherited from class java.lang.ClassLoader
 
Field Summary
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
(package private) Loader(java.util.Map entries, java.lang.ClassLoader parent)
          Create a new Loader.
 
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, 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
 

Constructor Detail

Loader

Loader(java.util.Map entries,
       java.lang.ClassLoader parent)
Create a new Loader.

Parameters:
entries -
parent -
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
Throws:
java.lang.ClassNotFoundException

pljava 1.0.0