Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » B3 » b3 - refactored engine boot
b3 - refactored engine boot [message #542127] Thu, 24 June 2010 00:04
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2500
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
Previous Topic:b3 - refactored engine boot
Next Topic:b3 - refactored build.build package name
Goto Forum:
  


Current Time: Tue Sep 16 15:29:00 GMT 2014

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

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