Ok, so now I'm installing bundlerepository bundle from a jar file and then creating ServiceTracker using this code:

adminTracker = new ServiceTracker(adminConsumer.getContext(), RepositoryAdmin.class.getName(), null);
adminTracker.open();

in order to retrieve RepositoryAdmin service, but adminTracker.getServices() return null.


(adminConsumer is a host bundle activator, I'm trying to follow this tutorial http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html#ApacheFelixFrameworkLaunchingandEmbedding-hostserviceusage )

On 25.10.2014 19:05, Neil Bartlett wrote:
You're probably missing a bundle that provides the service.

Neil




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to