You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/09/30 16:19:44 UTC

[jira] Created: (QPID-1305) Provide mechanism to access command line arguments to plugins.

Provide mechanism to access command line arguments to plugins.
--------------------------------------------------------------

                 Key: QPID-1305
                 URL: https://issues.apache.org/jira/browse/QPID-1305
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Martin Ritchie


Currently the Java broker has a number of extension points that (whilst not clearly identified) developers could use to augment functionality. 

To improve the ability for these plugin designers to be able to able to request configuration it would be helpful if the full Configuration object and the command line arguments were made available via the ApplicationRegistry. This would then allow us to utilise some of the the same command line argument modifiers that the C++ broker use. 

For example the new acl file that the C++ broker uses is loaded with option -aclfile. Currently there is no way for any plugin to be able to access the command line arguments provided to the Java broker nor is there any way for the broker startup code to pass this information on to a plugin. So if we desire to maintain increase compatibility with the C++ broker would should at least provide a mechanism to access additional parameters. 

One such mechanism would be, as mentioned above, to provide access to the CommandLine object via the ApplicationRegistry.

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


[jira] Updated: (QPID-1305) Provide mechanism to access command line arguments to plugins.

Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming updated QPID-1305:
--------------------------------------

    Affects Version/s: M4

> Provide mechanism to access command line arguments to plugins.
> --------------------------------------------------------------
>
>                 Key: QPID-1305
>                 URL: https://issues.apache.org/jira/browse/QPID-1305
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>
> Currently the Java broker has a number of extension points that (whilst not clearly identified) developers could use to augment functionality. 
> To improve the ability for these plugin designers to be able to able to request configuration it would be helpful if the full Configuration object and the command line arguments were made available via the ApplicationRegistry. This would then allow us to utilise some of the the same command line argument modifiers that the C++ broker use. 
> For example the new acl file that the C++ broker uses is loaded with option -aclfile. Currently there is no way for any plugin to be able to access the command line arguments provided to the Java broker nor is there any way for the broker startup code to pass this information on to a plugin. So if we desire to maintain increase compatibility with the C++ broker would should at least provide a mechanism to access additional parameters. 
> One such mechanism would be, as mentioned above, to provide access to the CommandLine object via the ApplicationRegistry.

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