Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Bundle Context and depricated classes
Bundle Context and depricated classes [message #83101] Wed, 07 February 2007 16:16 Go to next message
Martin Sooriam is currently offline Martin SooriamFriend
Messages: 24
Registered: July 2009
Junior Member
I was looking at the BundleContext and noticed that it uses the
Dictionary class, which is now obsolete and recommended to be replaced
by the Map interface. I know this might be for backword compatability,
but shouldnt the latest spec also take into account that this is now
depracated?

public ServiceRegistration registerService(String[] clazzes,
Object service, Dictionary properties);

public ServiceRegistration registerService(String clazz,
Object service, Dictionary properties);


Thanks
Mahesh
Re: Bundle Context and depricated classes [message #84043 is a reply to message #83101] Wed, 14 March 2007 19:20 Go to previous message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
The OSGi Alliance is already aware of this issue. We (Eclipse) cannot
change the OSGi API. The OSGi API is designed to run on embedded VMs so
in many cases they do not move up to the latest APIs in order to allow a
framework to run on very small devices.

Tom.
Previous Topic:OSGi performance / Service based development
Next Topic:exporting dynamic-imported packages
Goto Forum:
  


Current Time: Fri Apr 19 05:56:00 GMT 2024

Powered by FUDForum. Page generated in 0.02167 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top