ch.sahits.codegen.ui.util
Class ProjectGeneratorClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by ch.sahits.codegen.ui.java.ProjectClassLoaderV2
          extended by ch.sahits.codegen.ui.util.ProjectGeneratorClassLoader

Deprecated. This class loader is no longer used since all generator classes are retrieved through extension points This class will be removed in 3.0

@Deprecated
public final class ProjectGeneratorClassLoader
extends ProjectClassLoaderV2

This is a special class loader for the generator classes. There are three levels of trying to load the class:

  1. The class is on the class path of the class loader of the plugin
  2. The class is supplied through an extension point
  3. The class can be found anywhere on the project

Since:
0.9.2
Author:
Andi Hotz

Constructor Summary
ProjectGeneratorClassLoader(IJavaProject project)
          Deprecated. Initialize the current active project
 
Method Summary
protected  java.lang.Class<?> findClass(java.lang.String name)
          Deprecated. This method is called when the class is not found on the classpath.
 
Methods inherited from class ch.sahits.codegen.ui.java.ProjectClassLoaderV2
loadClass
 
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, 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

ProjectGeneratorClassLoader

public ProjectGeneratorClassLoader(IJavaProject project)
Deprecated. 
Initialize the current active project

Parameters:
project - active project
Method Detail

findClass

protected java.lang.Class<?> findClass(java.lang.String name)
                                throws java.lang.ClassNotFoundException
Deprecated. 
This method is called when the class is not found on the classpath. Check out all extensions for the extension point ch.sahits.codegen.java.generator and look there for the class that implements the interface IBaseGenerator.

Overrides:
findClass in class ProjectClassLoaderV2
Parameters:
name - of the class to be found
Throws:
java.lang.ClassNotFoundException
See Also:
ProjectClassLoaderV2.findClass(java.lang.String)