Hi
I am trying the update the resolved bundle and then starting it which is
providing implementation for Interface I. Afterwards immediately getting the
service reference for the Interface I. Interface I is in different module
which is started.
Following is the code:
Bundle bundle = bundleContext.getBundle(mvn:path);
bundle.update();
bundle.start();
Collection<ServiceReference<I>> referenceList = bundleContext
.getServiceReferences(I.class, null);
Is that when i am getting service reference of the interface, the bundle
start is not yet registered the implementation of the Interface I in
Activator. Is that an Asynchronous call.
Can anybody help
Regards
Sai
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html