|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
ch.sahits.codegen.ui.java.ProjectClassLoaderV2
public class ProjectClassLoaderV2
This class loader searches first in the classpath of the current project and then in the classpath of all other projects of java nature on the workspace. This ClassLoader should only be extended by a ClassLoader that tries to load classes from the bundles or the projects in some specific manner or from a third location
| Constructor Summary | |
|---|---|
ProjectClassLoaderV2(IJavaProject jProject)
Initialize the project for witch the class should be loaded |
|
| Method Summary | |
|---|---|
protected java.lang.Class<?> |
findClass(java.lang.String name)
|
java.lang.Class<?> |
loadClass(java.lang.String name)
Remove any generic stuff befor trying to load the class |
| 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 |
|---|
public ProjectClassLoaderV2(IJavaProject jProject)
jProject - | Method Detail |
|---|
protected java.lang.Class<?> findClass(java.lang.String name)
throws java.lang.ClassNotFoundException
findClass in class java.lang.ClassLoaderjava.lang.ClassNotFoundExceptionClassLoader.findClass(java.lang.String)
public java.lang.Class<?> loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
loadClass in class java.lang.ClassLoaderjava.lang.ClassNotFoundExceptionClassLoader.loadClass(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||