|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.IClassLoader
org.codehaus.janino.ResourceFinderIClassLoader
public class ResourceFinderIClassLoader
This IClassLoader loads IClasses through a
a ResourceFinder that designates
ClassFiles.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ResourceFinderIClassLoader(ResourceFinder resourceFinder,
IClassLoader optionalParentIClassLoader)
|
|
| Method Summary | |
|---|---|
protected IClass |
findIClass(String descriptor)
Find a new IClass by descriptor; return null if a class
for that descriptor could not be found. |
| Methods inherited from class org.codehaus.janino.IClassLoader |
|---|
createJavacLikePathIClassLoader, defineIClass, loadIClass, postConstruct |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceFinderIClassLoader(ResourceFinder resourceFinder,
IClassLoader optionalParentIClassLoader)
| Method Detail |
|---|
protected IClass findIClass(String descriptor)
throws ClassNotFoundException
IClassLoaderIClass by descriptor; return null if a class
for that descriptor could not be found.
Similar ClassLoader.findClass(java.lang.String), this method
must
IClass object from somewhere for the given type
IClassLoader.defineIClass(IClass) with that IClass object as
the argument
IClass object
The format of a descriptor is defined in JVMS 4.3.2. Typical
descriptors are:
I (Integer)
Lpkg1/pkg2/Cls; (Class declared in package)
Lpkg1/pkg2/Outer$Inner; Member class
Notice that this method is never called from more than one thread at a time. In other words, implementations of this method need not be synchronized.
findIClass in class IClassLoadernull if a class with that descriptor could not be found
ClassNotFoundException - if an exception was raised while loading the class
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||