Is it possible to substitute a bundle's class with another one coming from a fragment? [message #599342] |
Tue, 14 July 2009 08:06 |
Eclipse User |
|
|
|
Hi dear community,
I'm trying to substitute a class from a bundle I'm not allowed to
modify. I've tried using fragments, but with no result.
What I did was to create in the fragment a package with the same name as
the host bundle's target package where the class is contained. That
didn't work.
I've read also about the "import your exported" best practice. Not sure
If I understood it correctly: the OSGi runtime would import those
packages from other bundles, even when it's present in the declaring
bundle? Assuming this is right, I modified the fragment's MANIFEST to
include these "import your exported" packages. It didn't work either :(
Any tips on how to solve this?
Cheers,
Víctor.
|
|
|
Powered by
FUDForum. Page generated in 0.03851 seconds