commons-issues mailing list archives

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

                 Key: DAEMON-180
                 URL: https://issues.apache.org/jira/browse/DAEMON-180
             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. @foo.bar.Application will call foo.bar.Application'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.


Mime
View raw message