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.