jpackage and launcher-as-service parameter
Alexey Semenyuk
alexey.semenyuk at oracle.com
Fri Oct 21 20:16:05 UTC 2022
Hi Tobias,
OS-specific means are used to manage services. You can find details in
https://bugs.openjdk.org/browse/JDK-8275062 CSR
- Alexey
On 10/21/2022 2:51 PM, Tobias Oelgarte wrote:
>
> I read the documentation for jpackage and found the
> |--launcher-as-service |option. The documentation states: "Request to
> create an installer that will register the main application launcher
> as a background service-type application." But that is everything i
> could find.
>
> How is this supposed to work? From my understanding each service
> provides a mechanism to be started and stopped.
>
> I assume that the starting mechanism is the typical main(...) method
> and not some implementation of a "Service" interface.
>
> But how does the stopping work and how is a service supposed to do an
> orderly shutdown?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20221021/62a50382/attachment-0001.htm>
More information about the jdk-dev
mailing list