|b3 - refactored engine boot [message #608568]
||Wed, 23 June 2010 20:04
| Henrik Lindberg
Registered: July 2009
I have now checked in a new version that deals with "boot" of the B3
engine in a slightly different way.
This is how it now works.
The B3BuildEngine is a specialization of the B3Engine. The B3BuildEngine
is responsible for initialization of build related things (as needed by
the build package), whereas the B3Engine is responsible for the core
The B3Engine will combine all modules registered for the extension point
"org.eclipe.b3.runtime.module" (they are at the same 'level' and may not
bind the same thing).
Both engines have constructors that accept an overriding module (i.e.
any bindings in this overriding module will supplant any binding made
via the extension point modules).
The B3BuildEngine configures a B3DefaultModule and passes that to the
B3Engine. The B3DefaultModule can be overridden by passing a specialized
module to the B3BuildEngine constructor.
There are some nice base classes that makes it easy to provide bindings
for EMF eClass.
Powered by FUDForum
. Page generated in 0.02510 seconds