Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Bundle of questions


Hi,

At one point, a long time ago, we thought about it because we had another solution which was uniquely relying on bundles.
However we did NOT pick this solution and kept the concept of fragment.

Whether in the new runtime or with the old one, fragments behave the same.

        PaScaL




Rich Kulp <richkulp@xxxxxxxxxx>
Sent by: platform-core-dev-admin@xxxxxxxxxxx

02/09/2004 06:36 PM
Please respond to platform-core-dev

       
        To:        platform-core-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-core-dev] Bundle of questions




Hi,


I was just seeing these threads and it mentioned the intention of fragments to go away. Fragments had an important function of extending the classloader of a plugin in a semi-dynamic way. In that if the fragment was present its libraries get added to the plugin's loader.


This is used for things like NLS and platform dependent code. You don't need to ship all languages and all platforms. You just add in the fragments for the language and platforms of interest when needed. And then the resources or code can be found by the plugin itself (using class.getResource() for example from a class within the plugin).


How will this be accomplished with bundles?


Thanks,

Rich Kulp


Back to the top