Does Pax Exam contain any convenience APIs for looking up a service by interface class and/or properties?

I'm thinking of something like the getService() methods from Aries' RichBundleContext [1]

All I could find is org.ops4j.pax.exam.testforge.WaitForService which is not as flexible as the Aries class. And I don't really see the point in polling the ServiceTracker instead of just calling tracker.waitForService(timeout).

[1] https://svn.apache.org/repos/asf/aries/trunk/testsupport/testsupport-unit/src/main/java/org/apache/aries/itest/RichBundleContext.java

Best regards,
Harald

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to