Ticket #203 (closed enhancement: fixed)
OT/Equinox should be aware of bundle fragments
|Reported by:||stephan||Owned by:||stephan|
When a bundle declares an aspectBinding where the base classes to be bound reside in a bundle fragment, OT/Equinox requires the aspectBinding to be declared against the host bundle, not the fragment. This works because fragments are special in that they have no class loader but share the host bundle's class loader. Also fragments post no life-cycle events other than START_INSTALLING and END_INSTALLING.
While this works, it would be good if aspectBindings would explicitly support fragments so that presence of a specific fragment can be checked rather than badly failing due to missing base classes (which doesn't yield good error messages).