One thing that isn't clear to me from the documentation is how the 
annotations vary.

I know that if I use the Service/Reference annotations they work in the CDI 
test runner just fine.  The OsgiServiceProvider and OsgiService annotations 
do not.  I haven't put them in karaf/felix as deployments yet.  But the 
Service/Reference should work I'd think since the are felix annotations.

Is it that the Service/Reference annotations are not portable across 
container types - that is Equinox, Knopplerfish, in addition to Felix while 
the Osgi...Service annotations should be?  Or is it that the Osgi types are 
differentiated by using proxies while the Service/Reference annotations are 
strictly DS?

Other than the testing concern why would I choose one over the other?

Brad

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to