Hello, This question grew out of the following thread on the castor-xml mailing list: http://www.nabble.com/castor-xml-writing-empty-file-td24175804.html
I believe this is an osgi specific issue and wanted to follow up on this to further my understanding. The bundle using castor provides a generic "persistence" service... hand it an object and it will convert it to xml and marshall it to a file. To make it work successfully, I ended up having to add the package of the object it is handed, to the persistence bundle's imports list. But this isn't viable... i.e. for every potential client of the bundle to keep adding to the imports list. The bundle shouldn't really know anything about its clients. Why does it behave in such a way? Is this a limitation of the osgi imports/exports model? Thanks, Mohnish -- View this message in context: http://www.nabble.com/bundle-imports-tp24310965p24310965.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

