Package eu.simuline.relana.model
Class SClassLoader
- java.lang.Object
-
- eu.simuline.relana.model.SClassLoader
-
public final class SClassLoader extends Object
SClassLoader forSClass
es. Created: Wed Apr 20 21:56:45 2005- Version:
- 1.0
- Author:
- Ernst Reissner
-
-
Field Summary
Fields Modifier and Type Field Description private URL
library
private Map<ClassLocator,SClass>
name2class
-
Constructor Summary
Constructors Constructor Description SClassLoader(URL library)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SClass
loadSClass(ClassLocator loc, Package pkg)
SClass
loadSClass(ClassLocator loc, Package pkg, Map<ClassLocator,ClassLocator> subclassDep)
private SClass
resolveSClass(ClassLocator loc, Map<ClassLocator,ClassLocator> subclassDep)
-
-
-
Field Detail
-
library
private final URL library
-
name2class
private final Map<ClassLocator,SClass> name2class
-
-
Constructor Detail
-
SClassLoader
public SClassLoader(URL library)
-
-
Method Detail
-
loadSClass
public SClass loadSClass(ClassLocator loc, Package pkg, Map<ClassLocator,ClassLocator> subclassDep) throws IOException, RecognitionException
- Throws:
IOException
RecognitionException
-
loadSClass
public SClass loadSClass(ClassLocator loc, Package pkg) throws IOException, RecognitionException
- Throws:
IOException
RecognitionException
-
resolveSClass
private SClass resolveSClass(ClassLocator loc, Map<ClassLocator,ClassLocator> subclassDep) throws IOException, RecognitionException
- Throws:
IOException
RecognitionException
-
-