|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ifcomputer.minerva.Application
The class Application is a wrapper class to instantiate
Minerva as standalone application.
| Constructor Summary | |
Application()
|
|
| Method Summary | |
void |
addInterface(com.ifcomputer.minerva.MrvaSysBip bip)
This function can be used to declare additional builtin functions. |
int |
getExitValue()
|
void |
init(java.lang.String[] args)
This function is used to initialize the Minerva engine. |
boolean |
is_daemon()
|
static void |
main(java.lang.String[] args)
This function initializes a new application and calls its start function. |
void |
start()
This function starts the Minerva engine. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Application()
| Method Detail |
public void init(java.lang.String[] args)
throws java.io.IOException,
MinervaSystemError
args - This parameter is used to pass arguments (the command
line arguements of the application) to the Minerva engine.Minerva.Minerva(String[])
public void addInterface(com.ifcomputer.minerva.MrvaSysBip bip)
throws MinervaSystemError
bip - Description of the additional builtins and their
implementation.
public void start()
throws java.io.IOException,
MinervaSystemError
main/1 is defined, it will be called. Otherwise
the function tries to load the module "system_main". If main/1
is defined afterward, this predicate will be called. Otherwise
the function tries to call the predicate break/1.
public boolean is_daemon()
public int getExitValue()
public static void main(java.lang.String[] args)
start function.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||