Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] Using the Configuration Admin Service?


Simon, John,
             Currently there are no plans to contribute a Configuration Admin implementation to Equinox.  The direction Eclipse is taking is to use the Eclipse Preferences to store configuration data.  The Eclipse Preferences API is much simpler to use then Configuration Admin.  It is also easier to manage and more widely used.  

The OSGi Preferences Service can also be used to store configuration data (the implementation in Equinox simply wrappers the Eclipse Preferences). Although, it is important to note that the OSGi Preferences Service does not have any notifications when a value has changed.  The Eclipse Preferences, however, does provide these notifications.

regards,
Jennifer Fogell
OSGi Services Lead
IBM Device Software Development



"John Wells" <jwells@xxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

01/10/2006 02:51 PM
Please respond to Equinox development mailing list

       
        To:        "Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>
        cc:        
        Subject:        RE: [equinox-dev] Using the Configuration Admin Service?



I’ve been waiting for the Configuration Admin bundle from Equinox for a while now.  I wish it were here.  What is the status of it?
 
In particular, I need the interaction between the ConfiguraitonAdmin service and the DeclarativeServices service.  So I hope it is well integrated when it happens.
 
In the short run, you can actually use the Configuration Admin service available from www.knopflerfish.org
 
I have tested it (shortly) inside the Equinox framework and it seems to work ok.  However, I have not done any exhaustive testing.
 
John Wells (Aziz)
jwells@bea.comNOSPAM
 



From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Kaegi, Simon
Sent:
Tuesday, January 10, 2006 2:57 PM
To:
equinox-dev@xxxxxxxxxxx
Subject:
[equinox-dev] Using the Configuration Admin Service?

 

Hi all,

I've been doing some investigation in to how Eclipse and its various components get configured.
>From what I've seen, this is done primarily through System properties and I'm looking at alternatives for a variety of reasons. (see bug 105851, but I can definitely add other concerns)

OSGi gives us the Configuration Admin Service and I'm wondering if using it might be a better approach for non-system bundle configuration information.

By this I guess I'm proposing that the Config Admin Service be integrated at a fairly low level in Eclipse and then used for all plugins/bundles that need configuration instead of System properties.

Once the Configuration Admin service is available I'm happy to do the work, but before I get started I'm curious as to whether people think this approach is reasonable.

-Simon
 
     This message may contain privileged and/or confidential information.  If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so.  Thank you. _______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top