Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] OSGi and parameters


One typical example that we have is the application name
        eclipse -application org.eclipse.myApp

This parameter is used by the runtime to decide which application must be started. With this info, the runtime does a lookup in the registry for the named application (declared through an extension) and instanciate the refered class.

Other parameters include:
        WS, NL, OS, Arch, debugMode, platform configuration (the list of the plugins).

        PaScaL



BJ Hargrave/Austin/IBM@IBMUS

06/25/2003 12:30 PM

       
        To:        Pascal Rapicault/Ottawa/IBM@IBMCA
        cc:        equinox-dev@xxxxxxxxxxx, equinox-dev-admin@xxxxxxxxxxx
        Subject:        Re: [equinox-dev] OSGi and parameters




Typically OSGi bundles are configured via the Configuration Admin service. But this is for long term configuration rather than "this JVM execution" configuration which is what command line provided parameters would be.


Perhaps some examples of command line parameters that would apply to specific bundles would be in order to help frame a good answer. I think what you suggested was a single, well known place that all bundles could look for boot parameters.


BJ Hargrave
Senior Software Engineer, IBM Pervasive Computing - Austin, TX
mailto:hargrave@xxxxxxxxxx  902/6C-003 T/L 678-9938
Office: +1 512 838 9938  Mobile: +1 512 785 7386



Back to the top