Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-180

Allow running basic applications as daemons

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.4
    • Jsvc
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            mturk@apache.org Mladen Turk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: