Hey Harald, Not as far as I know, but following the discussions here I think it's on the todo lists for ages now. It's a pity that Toni is not available since he surly knows more about the topic. But AFAIK we all are waiting for some time now that someone jumps up and provides some useful simplifications here. For now almost every project has their own common classes where they do such things as service lookup (such as Aries).
Kind regards, Andreas On Sun, Jul 31, 2011 at 11:59, Harald Wellmann <[email protected]>wrote: > 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<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<http://lists.ops4j.org/mailman/listinfo/general> >
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
