|
JMACS | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmacs.pd.StartProgram
public class StartProgram
immutable command to start the specified program.
Constructor Summary | |
---|---|
StartProgram(String classname,
URL codebaseUrl)
creates new instance. |
|
StartProgram(URL url)
creates new instance. |
Method Summary | |
---|---|
IProgram |
createProgram()
returns a new instance of the program. |
static IProgram |
createProgram(String classname,
URL codebaseUrl)
returns a new instance of the specified program, using a new classloader so as to ensure we get the latest version. |
static IProgram |
createProgram(URL url)
deserialises and returns a new instance of the specified serialised program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StartProgram(URL url)
url
- of serialised program instance.public StartProgram(String classname, URL codebaseUrl)
classname
- fully qualified, of programcodebaseUrl
- from which class should be loadedMethod Detail |
---|
public static IProgram createProgram(String classname, URL codebaseUrl) throws ClassNotFoundException, InstantiationException, IllegalAccessException
ClassNotFoundException
InstantiationException
IllegalAccessException
public static IProgram createProgram(URL url) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
public IProgram createProgram() throws DiDriverException
DiDriverException
|
JMACS | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |