02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The <strong>Ocean</strong> Module<br />

The <strong>Ocean</strong> Module<br />

The <strong>Ocean</strong> framework allows product families to expand their capabilities through the use<br />

of <strong>Ocean</strong> modules. The <strong>Ocean</strong> module is managed by the <strong>Ocean</strong> Core and has a defined<br />

lifecycle. Its lifecycle phases serve to license the module, initialize and integrate it into the<br />

product family, add presentation interfaces, and remove all these when the module is<br />

unloaded. The appearance and interaction is seamless allowing the product family to treat<br />

the module as native code.<br />

The lifecycle phases of the <strong>Ocean</strong> module have certain requirements and restrictions that<br />

allow the clean integration into the product family. A license may be checked out during<br />

module construction. In the initialization phase, the module registers services it provides<br />

to the <strong>Ocean</strong> framework. During integration, the module acquires services it needs from<br />

other modules or the framework. In the integrate presentation phase, the module adds<br />

user interface components to the product family on which it is running. When the product<br />

family is shutting down, the disintegration phase clears the user interface components.<br />

Finally, during disposal the license and unmanaged resources are released.<br />

An <strong>Ocean</strong> module uses the functionality provided by the product family, the <strong>Ocean</strong><br />

Services, the <strong>Ocean</strong> Core, and also the .NET architecture. It may also use third party<br />

application assemblies and other modules.<br />

<strong>Schlumberger</strong> Private<br />

<strong>Ocean</strong> Core 3-21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!