|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jnlp.AbstractLaunchHandler
net.sourceforge.jnlp.DefaultLaunchHandler
public class DefaultLaunchHandler
This default implementation shows prints the exception to stdout and if not in headless mode displays the exception in a dialog.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.jnlp.AbstractLaunchHandler |
|---|
outputStream |
| Constructor Summary | |
|---|---|
DefaultLaunchHandler(java.io.PrintStream out)
|
|
| Method Summary | |
|---|---|
void |
launchCompleted(ApplicationInstance application)
Called when an application, applet, or installer has been launched successfully (the main method or applet start method returned normally). |
void |
launchError(LaunchException exception)
Called when the application could not be launched due to a fatal error, such as the inability to find the main class or non-parseable XML. |
void |
launchInitialized(JNLPFile file)
Do nothing on when initializing |
void |
launchStarting(ApplicationInstance application)
Do nothing when starting |
boolean |
launchWarning(LaunchException warning)
Called when launching the application can not be launched due to an error that is not fatal. |
boolean |
validationError(LaunchException error)
Called when a security validation error occurs while launching the application. |
| Methods inherited from class net.sourceforge.jnlp.AbstractLaunchHandler |
|---|
printMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLaunchHandler(java.io.PrintStream out)
| Method Detail |
|---|
public void launchError(LaunchException exception)
public boolean launchWarning(LaunchException warning)
public boolean validationError(LaunchException error)
public void launchCompleted(ApplicationInstance application)
application - the launched application instancepublic void launchInitialized(JNLPFile file)
public void launchStarting(ApplicationInstance application)
application - the application instance that is ready
|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||