install4j API documentation


com.install4j.api.launcher
Interface ApplicationLauncher.Callback

Enclosing class:
ApplicationLauncher

public static interface ApplicationLauncher.Callback

You can implement this interface to receive notifications when the installer application exits or needs to shut down your application.

See Also:
ApplicationLauncher.launchApplication(String, String[], boolean, com.install4j.api.launcher.ApplicationLauncher.Callback)

Method Summary
 void exited(int exitValue)
          Invoked when the installer application has exited.
 void prepareShutdown()
          Invoked before the installer appliaction shuts down this JVM.
 

Method Detail

exited

void exited(int exitValue)
Invoked when the installer application has exited.

Parameters:
exitValue - the exit value of installer application

prepareShutdown

void prepareShutdown()
Invoked before the installer appliaction shuts down this JVM. This happens when a "Shutdown calling launcher" action is executed in the installer application.