Craig Phillips wrote:

Hi,

I’m attempting to implement a fragment exemplary application in which a fragment package class <<extends>> a host service method… yeah, I’m probably a bit out of my league ATT… Also, apparently (as I read on the spring-DM guide) Felix does not [yet, presume] support fragments? It seems that Felix is ignoring my “Fragment-Host:” manifest entry…


That is correct, Felix does not yet support fragments. Last week, I did just make a commit for some initial support, see Felix' JIRA issue FELIX-29 for the current status of trunk.


So, a couple questions as I decide to move to pax-run and either equinox (cringe) or knoplerfish…

Can I actually do inheritance/override of a base service method in a fragment? Keep in mind, too, that I’m using SCR/DeclarativeServices


I don't see why not. The fragment content effectively becomes part of the host bundle's content, using the same class loader. So, both classes should be found by the same class loader.

-> richard

I can provide source/dot.bnd’s etc… Note – I do keep client, base, and fragment code in separate packages (meaning, there is zero split-packaging going on);

Thanks, Craig

------------------------------------------------------------------------

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to