Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Equinox weaving and OSGI Resolver Hooks

Hi all,

I am using a org.osgi.framework.hooks.resolver.ResolverHook in order
to create compartments or regions in the OSGI runtime. These
compartments resolve independently of each other.

In conjunction with equinox weaving I have the problem that the
equinox weaving implementation does not consider the ResolverHooks
available in the the runtime when it resolves the supplement bundles.

This leads to the situation that bundles from one compartment are
supplemented with bundles from another compartment which should not
happen in my use case.

Maybe it would make sense to call the available OSGI resolver hooks in
order to check if the possible combinations of supplemented and
supplementer bundles are valid (Maybe this could be implemented in
org.eclipse.equinox.weaving.hooks.SupplementerRegistry.isSupplementerMatching(..)).

Thanks in advance for your comments and ideas,
Tobias.


Back to the top