29.01.2013 Views

Tutorial: Designing Eclipse APIs Boris Bokowski, John Arthorne, Jim ...

Tutorial: Designing Eclipse APIs Boris Bokowski, John Arthorne, Jim ...

Tutorial: Designing Eclipse APIs Boris Bokowski, John Arthorne, Jim ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IDiscoveryLocator|Advertiser<br />

Provides three methods of usage<br />

• Synchronous getServices(),<br />

getServiceTypes(), … registerServices()<br />

which block until operation terminates<br />

IServiceInfo[] services =<br />

discoveryLocator.getServices();<br />

for (int i=0; i < services.length; i++){<br />

// do something with the service<br />

© 2009 by Markus Alexander Kuppe, Scott Lewis; made available under the EPL v1.0 | March 23, 2009

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!