|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jomic.common.JomicStartup
public final class JomicStartup
Utility class to bootstrap Jomic without refering to package net.sf.jomic.tools (apart from
StartupTools and ErrorTools) and Settings
.
Method Summary | |
---|---|
void |
exit(int exitCode)
Call System.exit(exitCode) unless the system property TEST_IGNORE_EXIT
is true . |
static JomicStartup |
instance()
|
boolean |
isStartup()
|
void |
showError(java.lang.String message,
java.lang.Throwable error)
Show error message in dialog. |
void |
showError(java.lang.String message,
java.lang.Throwable error,
boolean modal)
Show error message in dialog. |
void |
startup()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isStartup()
public static JomicStartup instance()
public void exit(int exitCode)
System.exit(exitCode)
unless the system property TEST_IGNORE_EXIT
is true
.
System.exit(int)
,
PropertyConstants.TEST_IGNORE_EXIT
public void showError(java.lang.String message, java.lang.Throwable error)
JomicTools.showError()
this method does
not require any initialization. It should only be used in situations where we cannot be sure
that LocaleTools and other stuff is up and running.
JomicTools.showError(javax.swing.JFrame, String, Object[],
Throwable)
public void showError(java.lang.String message, java.lang.Throwable error, boolean modal)
JomicTools.showError()
this method does
not require any initialization. It should only be used in situations where we cannot be sure
that LocaleTools and other stuff is up and running.
JomicTools.showError(javax.swing.JFrame, String, Object,
Throwable)
public void startup() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |