Hi all, Currently I am involved in the R & D of the Hot patch deployment of OSGi Bundles. As per now I have implemented the hot deployment as follows.
- Update the bundle using an InputStream - Get the FrameworkWiring using the SystemBundle - Get the bundle's dependency closure using the FrameworkWiring - Then finally refresh the the bundles within the dependency closure My problem is that, is it enough to refresh the first level dependencies only to the hot deployment to be successful; or do I have to refresh the next level bundles also. I am not clear enough according to the documentation in [1]. [1]. http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/wiring/FrameworkWiring.html#refreshBundles(java.util.Collection, org.osgi.framework.FrameworkListener...) Regards, -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: [email protected] | Web: www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
