Hi, im trying to register a simple DS in my registry. And i inspect the
service and get a confirmation that its registered. I have also made a
small project to see how the DS works on the very basics.

But im trying to integrate the DS to my former project using service
tracker.
So my question is that if its possible to use this code:

@Reference
 public void setApi(Api api){
System.out.println("SETTING API");
this.updateInterface = api;
 }

in a normal activator method? If so I wonder how. I can seem to get te
reference when im updating the current bundle with this method.

My current code is this: https://github.com/Snorlock/prosjektoppgavekode
The two labelupdaters are my interface and imlpmentation for the DS.
And i want to take this service into the other bundles, using @Reference.
Is this possible?

-- 
Mvh
Snorre Lothar von Gohren Edwin
+47 411 611 94

Reply via email to