You should use a pojo for the callbacks.

If you mix Activator and blueprint you will end up with two instances of the Activator. One created by blueprint and one by the OSGi framework. Can you post your full blueprint.xml and ideally your project? Maybe you got a small error somewhere?

Christian

On 30.03.2015 14:55, Pat Warren wrote:
Hi Achim,

Thank you for the response.

Apologies, but I am not sure I fully understand.

The Service is getting registered by the Blueprint-Extender as you point
out. I am not registering the service in the Activator. The Activator's
start method is getting called as normal.

What is not happening is that the registration-listener is not getting
called back post service registration. The callback methods for the
registration callbacks happen to be on the Activator, but I also tried using
a POJO's methods for the callback with no success.

Can you kindly clarify for my understanding how can we get a call back post
registration?

Thanks for any help.






--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-3-0-3-Blueprint-Service-Registration-Listener-related-question-tp4039368p4039382.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to