Skip to content

Purpose of registering EPackageConfiguration #105

Discussion options

You must be logged in to vote

Hi,

I believe the goal is mostly to initialize the EPackage, to avoid doing it lazily at runtime (Which, in a multi-threaded environment, might not go well).

In some previous versions, we were also initializing the EPackage: mapping file extension to Resource Factory, things like that. But this is only necessary when using the EPackage in a standalone Java Application (Using a java main() method), as opposed to an Eclipse IApplication (Using IApplication.start()). It depends on the use case, but recently I think we're using mostly the latter.

In any case, the goal is the same: make sure the EMF environment is properly started/configured/initialized before accepting client connections. So,…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by agonzalezgaliana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants