Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMFStore: Is EPackage registration at runtime supported?
EMFStore: Is EPackage registration at runtime supported? [message #1764104] Wed, 24 May 2017 20:55 Go to next message
Yuri Sokolovski is currently offline Yuri SokolovskiFriend
Messages: 9
Registered: July 2015
Junior Member
We have a requirement to add custom EPackages in EMFStore at runtime without having to restart the EMFStore server.

EMFStore loads dynamic models on startup, but this would require us to restart EMF Store, which is not possible in cloud environment.

We've implemented a non-OSGi version of EMF Store, and are able to add EPackages at runtime by adding them directly to registry, thus enabling EMFStore to recognize new classes without restart.

However, we'd like to use standard EMFStore out of the box and looks like the standard OSGi-based version wouldn't allow us access to the same static variables within EMFStore bundles.

So I was wondering if there is any "proper" way to do this at runtime within OSGi confines.

Thank you!
Re: EMFStore: Is EPackage registration at runtime supported? [message #1764549 is a reply to message #1764104] Wed, 31 May 2017 07:52 Go to previous message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 17
Registered: March 2016
Junior Member
Hi Yuri,
what static variables are you referring to exactly? Can you elaborate a bit what changes you did for the non-OSGi version and where the differences are between both versions?
Thank you!

Cheers,
Edgar
--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/


--
Edgar Mueller

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:[ECP: Update content of boton of ecp forms]
Next Topic:Question Generating from XSD
Goto Forum:
  


Current Time: Thu May 02 15:55:27 GMT 2024

Powered by FUDForum. Page generated in 0.04348 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top