You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bob Saenger (JIRA)" <ji...@apache.org> on 2011/02/08 17:09:57 UTC

[jira] Created: (DAEMON-196) Support non argument start and stop methods

Support non argument start and stop methods
-------------------------------------------

                 Key: DAEMON-196
                 URL: https://issues.apache.org/jira/browse/DAEMON-196
             Project: Commons Daemon
          Issue Type: Improvement
          Components: Jsvc
    Affects Versions: 1.0.5
            Reporter: Bob Saenger
             Fix For: 1.0.6


As methods to be called when service is started or stopped in addition non argument methods shall be taken into account, i.e. if there is no static method with argument (String args[]) in addition presence of the static method without arguments shall be tested. In particular this should make sense if no start (++StartParams) or stop (++StopParams) parameters are provided.

This feature would be helpfull to use thirdparty code as is. Otherwise additional helper classes need to be implemented, installed and deployed.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-196) Support non argument start and stop methods

Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk updated DAEMON-196:
-------------------------------

    Fix Version/s:     (was: 1.0.6)

> Support non argument start and stop methods
> -------------------------------------------
>
>                 Key: DAEMON-196
>                 URL: https://issues.apache.org/jira/browse/DAEMON-196
>             Project: Commons Daemon
>          Issue Type: Wish
>          Components: Jsvc
>    Affects Versions: 1.0.5
>            Reporter: Bob Saenger
>            Priority: Minor
>
> As methods to be called when service is started or stopped in addition non argument methods shall be taken into account, i.e. if there is no static method with argument (String args[]) in addition presence of the static method without arguments shall be tested. In particular this should make sense if no start (++StartParams) or stop (++StopParams) parameters are provided.
> This feature would be helpfull to use thirdparty code as is. Otherwise additional helper classes need to be implemented, installed and deployed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DAEMON-196) Support non argument start and stop methods

Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk updated DAEMON-196:
-------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Wish  (was: Improvement)

If you have an itch please provide a patch. I'd be happy to review it.
IMHO allowing foo() instead foo(String[]) won't help much unless you
totally customize the method signature.
For you the foo() might be solution, others might have a need
for foo(int, String, String) etc...
So there is no clean solution unless we totally modify the way the
signatures are handled, which is sort of complex.


> Support non argument start and stop methods
> -------------------------------------------
>
>                 Key: DAEMON-196
>                 URL: https://issues.apache.org/jira/browse/DAEMON-196
>             Project: Commons Daemon
>          Issue Type: Wish
>          Components: Jsvc
>    Affects Versions: 1.0.5
>            Reporter: Bob Saenger
>            Priority: Minor
>             Fix For: 1.0.6
>
>
> As methods to be called when service is started or stopped in addition non argument methods shall be taken into account, i.e. if there is no static method with argument (String args[]) in addition presence of the static method without arguments shall be tested. In particular this should make sense if no start (++StartParams) or stop (++StopParams) parameters are provided.
> This feature would be helpfull to use thirdparty code as is. Otherwise additional helper classes need to be implemented, installed and deployed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (DAEMON-196) Support non argument start and stop methods

Posted by "Mladen Turk (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved DAEMON-196.
--------------------------------

    Resolution: Not A Problem

Closing because of no activity and design requires the arguments. Everyone is free to reopen the issue with the actual patch that would allow custom method signatures.
                
> Support non argument start and stop methods
> -------------------------------------------
>
>                 Key: DAEMON-196
>                 URL: https://issues.apache.org/jira/browse/DAEMON-196
>             Project: Commons Daemon
>          Issue Type: Wish
>          Components: Jsvc
>    Affects Versions: 1.0.5
>            Reporter: Bob Saenger
>            Priority: Minor
>
> As methods to be called when service is started or stopped in addition non argument methods shall be taken into account, i.e. if there is no static method with argument (String args[]) in addition presence of the static method without arguments shall be tested. In particular this should make sense if no start (++StartParams) or stop (++StopParams) parameters are provided.
> This feature would be helpfull to use thirdparty code as is. Otherwise additional helper classes need to be implemented, installed and deployed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira