Module jdk.packager.services
Package jdk.packager.services.singleton
Interface SingleInstanceListener
-
public interface SingleInstanceListenerTheSingleInstanceListenerinterface is used for implementing Single Instance functionality for Java Packager.- Since:
- 10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnewActivation(String... params)This method should be implemented by the application to handle the single instance behaviour - how should the application handle the arguments when another instance of the application is invoked with params.
-
-
-
Method Detail
-
newActivation
void newActivation(String... params)
This method should be implemented by the application to handle the single instance behaviour - how should the application handle the arguments when another instance of the application is invoked with params.- Parameters:
params- parameters for the application main
-
-