|Choose from one of multiple IJvmModelInferrer implementations at runtime [message #922031]
||Mon, 24 September 2012 17:11
| Alex C
Registered: July 2009
In my xtext project I would like to have multiple IJvmModelInferrer implementations and programmatically choose which one is to be used at runtime, perhaps initially by a hard-wired configuration, and then perhaps from the gui at some future point.
But the key point is that only one inferrer gets used, and the choice is configurable.
I see that by default, there is a generated 'Abstract[xxx]RuntimeModule' class which defines a 'bindIJvmModelInferrer' method, this seems to be called at runtime for Guice binding.
I would appreciate any guidance or suggestions on how to go about this
Powered by FUDForum
. Page generated in 0.10272 seconds