public interface LaunchHandler
Modifier and Type | Method and Description |
---|---|
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)
Called when an application, applet or installer has been determined.
|
void |
launchStarting(ApplicationInstance application)
Called when an application, applet or installer is ready to start.
|
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.
|
void launchError(LaunchException exception)
exception
- to be re-thrown as launch errorboolean launchWarning(LaunchException warning)
warning
- exception to be consummed as warningboolean validationError(LaunchException error)
error
- to be rethrown as launch errorvoid launchInitialized(JNLPFile file)
file
- the JNLP file of the instance that is startingvoid launchStarting(ApplicationInstance application)
application
- the application instance that is readyvoid launchCompleted(ApplicationInstance application)
application
- the launched application instance