|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.softsynth.jmsl.util.JMSLClassLoader
public class JMSLClassLoader
Use JMSLClassLoader.load(classname) instead of Class.forName(classname).
JMSLClassLoader.load() first tries Class.forName(). If this fails, it tries Class.forName() using
ClassLoader.getSystemClassLoader() This was developed so that jmsl.jar residing in
~/Library/Java/Extensions on Mac OSX could instantiate classes by name which were outside of this
location. Classes in ~/Library/Java/Extensions are loaded by a different ClassLoader than the
main Java application.
| Constructor Summary | |
|---|---|
JMSLClassLoader()
|
|
| Method Summary | |
|---|---|
static java.lang.Class |
load(java.lang.String classname)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMSLClassLoader()
| Method Detail |
|---|
public static java.lang.Class load(java.lang.String classname)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||