commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk (JIRA)" <>
Subject [jira] Resolved: (DAEMON-180) Allow running basic applications as daemons
Date Wed, 20 Oct 2010 06:11:23 GMT


Mladen Turk resolved DAEMON-180.

    Resolution: Fixed

Added support/DaemonWrapper implementing this feature.
There is a and
inside examples directory showing the basics of this new approch

> Allow running basic applications as daemons
> -------------------------------------------
>                 Key: DAEMON-180
>                 URL:
>             Project: Commons Daemon
>          Issue Type: New Feature
>          Components: Jsvc
>            Reporter: Mladen Turk
> Add new generic wrapper that would allow to run the standard application that do not
have required
> Daemon methods by using a special wrapper class.
> The wrapper class calls main method if the -start class is prefixed with ampersand.
> eg. will call's main(String[] args) method instead
> trying to load the init(String[]) method.
> Stop method inside wrapper calls System.exit, so applications should have some
> mechanism (usually by using ShutdownHook) to perform a shutdown cleanup 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message