Skip to main content


Eclipse Community Forums
Forum Search:

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


Current Time: Thu Mar 28 11:54:23 GMT 2024

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

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

Back to the top