edu.cmu.emulator
Class EmuClassLoader
java.lang.Object
edu.cmu.emulator.EmuClassLoader
public class EmuClassLoader
- extends Object
The class that loads the user defined classes into the system at
run time.
Method Summary |
void |
load()
Loads the specified user defined classes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
emulator
Emulator emulator
urlList
String[] urlList
classList
String[] classList
argList
String[][] argList
classes
Class[] classes
methods
Method[] methods
EmuClassLoader
public EmuClassLoader(Emulator emulator,
String[] urlList,
String[] classList,
String[][] argList)
- Constructor. Takes in a list of URLs and classes to be loaded.
load
public void load()
- Loads the specified user defined classes. The list of classes and
the URLs which specify the search paths are parsed through and each
class is loaded and the start method is invoked.
All user defined classes should implement the EmulatorUserClass.
- See Also:
EmulatorUserClass
Copyright © 2013. All Rights Reserved.