I am not sure that is such a great example. The log method block for 
potentialy a very long time and thus can impede the ServiceEvent deliver 
for HttpService. The ServiceTrackerCustomizer methods are called from the 
ServiceListener inside ServiceTracker and should complete quickly.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]

office: +1 386 848 1781
mobile: +1 386 848 3788



Peter Kriens <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
02/23/2007 04:11 AM
Please respond to
OSGi Developer Mail List <[email protected]>


To
Aggelos Mpimpoudis <[EMAIL PROTECTED]>
cc
[email protected]
Subject
Re: [osgi-dev] Re: Knopflerfish and Eclipse






If you need another example with the service tracker look at:

http://www.aqute.biz/Snippets/Tracker

There are also some similar examples.

Kind regards,

     Peter Kriens

_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to