[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] OSGi and parameters
- From: Peter Kriens <Peter.Kriens@xxxxxxxx>
- Date: Wed, 25 Jun 2003 19:48:04 +0200
- Delivered-to: email@example.com
- Organization: aQute
For command line parameters I would use the System properties. As BJ
said, the CM service is nice for more static configuration data.
PR> I would like to know what is the usual way of passing parameters to
PR> "application" and/or "bundle" running in OSGi.
PR> Basically the case I'm trying to resolve is the following:
PR> today in eclipse: a set of parameters are passed on startup (on
PR> the command line), and those parameters are
PR> then surfaced in eclipse through the Boot plugin. This gives a
PR> uniform way for people to access parameters.
PR> How can I give the bundles access to the command line parameters, in a
PR> nice way?
PR> My current idea is to create a implementation depend service that would
PR> surface parameters.
PR> Any suggestions? Any ideas? Any comments?
Peter Kriens Tel. +46 30039800
Finnasandsvägen 22 Fax. +46 30039805
SE-43933 Onsala Mob. +46705950899