Hi @all,

I've got a question concering the Weaving Hook class modification possibility. I use a Weaving Hook to enhance some classes which have a specific annotation. I add an interface to the classes and add the implementations for the methods for this interface. Since this interface isn't in the import-package definition in the first place, my bundle is then unable to load the classes since the interface isn't imported. If I add the package of the interface to the import-package definition, it works fine. Is there any way to modify the import-package of the bundle inside a weaving hook?

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

Reply via email to