I'm trying to run an integration test for our application using spring-osgi testing framework. What i'm trying to do is:

1. Extend AbstractConfigurableBundleCreatorTests and have it startup the felix container and deploy the test class as a bundle
2. Use the RepositoryAdmin to download and install our application bundles.
3. Get a hold of SCR managed services and invoke methods to run the test.

I have it downloading and installing the bundles, but i can't find a way of finding and invoking component services from the bundle context. Is there a way of finding the services declared using the scr.service tag via the bundleContext? Are there any alternate paths to integration testing inside an OSGI container?

Thanks,

Tom Litton

Reply via email to