Happy New Year, Alin, > You may take a look at pax swissbox - bundle package. Its scope is to > make very easy to use extender pattern. > If you need extra info yo know where to find me.
Ok, thanks! > BTW, how do you want to use the extender pattern? Based on a custom > file? Custom manifest/other file entries/content? I was thinking a custom manifest would be just fine, since the client developer needs to create a bundle with all the necessary components. The goal is to try to hide as much cruft as possible from the client bundles. The client bundle needs to declare various components that will be assembled and tracked by the system. For example, if I use again the analogy of Vehicles, the client bundle would declare implementations of Motor, Tire, and whatever. I was just thinking of using bundle headers, so: Motor: org.example.automobile.Motor Tire: org.example.automobile.Tire Vehicle-Type: automobile The system would then take these components, construct the automobile and manage that Vehicle's lifecycle and such. Hopefully, this should make things easy for client developers. If you have any better suggestions, please let me know. Cheers, Dave _______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev
