On Friday 23 February 2007 18:50, Peter Kriens wrote: > No, the ServiceTracker takes care of the problem that there are always > two cases: > > 1. A service is already registered. this means you will not get an > event on the service listener. You must get it from the registry. > 2. A service will be registered, you get an event
You also have the added complexity for events related to change of service properties, which also affects the returned result of filtering. If the service properties that are part of filters are changed, the ServiceTracker will do a removedService() and addingService() respectively, even though no "new service" has been registered. Cheers Niclas _______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev
