You get the BundleContext injected into you test method.

@Test public void testMe(BundleContext ctx)

this is your ticket to the service registry.

On Fri, Jul 8, 2011 at 11:00 PM, Matt Madhavan <[email protected]>wrote:

> Hello,
> I have some basic questions on PaxExam2. After provisioning my bundles via
> mavenbundle call, how do I lookup the service I'm looking for from the
> bundles I'm developing? I have the test programs (4) that Tony'M created
> working but I cannot find much info in them?
>
> Also I would like to list all the services running, wait for a Service to
> start etc. Any docs or examples?
>
> Thanks
> Matt
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
Toni Menzel Source <http://tonimenzel.com>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to