|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.japisoft.framework.ApplicationMain
This is the beginning part for starting an application. The user must
call the start method. This operation will use a set of
application step for building the application. The user must have at least
one application step for starting the application
| Constructor Summary | |
ApplicationMain()
|
|
| Method Summary | |
static void |
showException(java.lang.Throwable th)
Show a dialog box with the following error |
static void |
start(java.lang.String[] args)
Start the application without application descriptor file. |
static void |
start(java.lang.String applicationDescriptorFile,
java.lang.String[] args)
Start the application using the following application descriptor file |
static void |
stop(int exitCode)
Should be called when terminating the application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ApplicationMain()
| Method Detail |
public static void start(java.lang.String applicationDescriptorFile,
java.lang.String[] args)
throws ApplicationException
applicationDescriptorFile - A path using the classpath for the application descriptor fileargs - The application main parameters
ApplicationException - when cannot find the application descriptor file
public static void start(java.lang.String[] args)
throws ApplicationException
args - The application main parameters
ApplicationExceptionpublic static void stop(int exitCode)
public static void showException(java.lang.Throwable th)
th - An exception while starting the application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||