Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



ECom framework summary

The ECom framework provides facilities to resolve and load the appropriate implementations at run-time, on behalf of the interface definition. It has a client-server architecture, with the additional constraint of the client side session being a singleton per process thread.

Client calls to the interface definition for construction, and destruction, translate directly, through REComSession, into loading, and unloading of the correct implementation library, together with instantiation and destruction of an appropriate interface implementation.

Resolution

The framework supplies a default resolver for selecting appropriate implementations. This attempts to match data supplied by the client against a data identifier field in the implementation's registration details. The interface can ask the framework to create the best fit implementation directly, or ask it to return a list of all matching implementations, and then possibly use other methods, such as user selection, to select the one to be created.