Hey All, Over the years osgi has identified a few anti-patterns in it's initial design (such as activators, etc.)
I'm wondering if core/org/osgi/framework/Bundle.html#getDataFile(java.lang.String) is still considered to be a useful pattern. My use case is to prevent multiple attempts to perform a DB upgrade process. Now, this operation is idempotent. However, it's also rather expensive and could slow initialization considerably so I'd like to persist the fact that the operation was completed successfully with some sort of stored flag. Another option would be checking if the bundle has just been installed. Is this possible? (I believe not). -- *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay)
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
