install4j API documentation



com.install4j.api.launcher
Interface StartupNotification.Listener

All Superinterfaces:
java.util.EventListener
Enclosing class:
StartupNotification

public static interface StartupNotification.Listener
extends java.util.EventListener

The interface for startup events in single instance mode or for open file events on OS X.

Author:
ej-technologies GmbH

Method Summary
 void startupPerformed(java.lang.String parameters)
          Will be called when the executable is started again or when a file open event is received.
 

Method Detail

startupPerformed

void startupPerformed(java.lang.String parameters)
Will be called when the executable is started again or when a file open event is received. Note that each invocation may be from a separate thread. If you have to serialize calls into this method, please synchronize the implementation.

Parameters:
parameters - the parameters of the invocation, or the file to open on OS X. For multiple files, files are surrounded by double-quotes and separated by spaces. Note: any default arguments defined for the launcher will not be passed again here

.