Find a way to improve handling optional imports in Karaf
--------------------------------------------------------

                 Key: FELIX-1635
                 URL: https://issues.apache.org/jira/browse/FELIX-1635
             Project: Felix
          Issue Type: Improvement
    Affects Versions: karaf-1.0.0
            Reporter: Gert Vanthienen


When installing a bundle, optional imports that unavailable at that time are 
ignored.  However, if those ignored packages become available afterwards, users 
have to manually refresh the bundle to get the optional imports wired 
correctly.  When a user is unaware of this, she'll probably experience a 
problem that gets fixed when the container is restarted (because bundles are 
being wired again), 

We should try to come up with a mechanism to improve this experience.  One 
possible solution would be to improve the features mechanism to support 
refreshing existing bundles, so we can indicate that a given bundle needs to 
refreshed when a feature is being installed.  Another way to handle it would be 
by keeping tracking of unwired optional imports and when automatically 
refreshing bundles when more imports become available.  Probably needs a bit 
more investigation though to find a solution that works...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to