b3 - refactored engine boot [message #542127] |
Thu, 24 June 2010 00:04 |
Henrik Lindberg Messages: 2509 Registered: July 2009 |
Senior Member |
|
|
Hi,
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
engine initialization.
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.
Regards
- henrik
|
|
|
Powered by
FUDForum. Page generated in 0.01302 seconds