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.

Reply via email to