I noticed two different patterns in the definition of the public SCA and
SDO API classes.
SCA:
A delegation pattern where the public API class delegates calls to an
implementation class.
For example ComponentContext contains a private pointer to
ComponentContextImpl. ComponentContextImpl implements the methods from
ComponentContext but does not extend ComponentContext.
SDO:
Inheritance, where the implementation class extends the public API class.
For example DataFactoryImpl extends DataFactory.
Is there any particular reason for the two different patterns? Any
advantages or issues with one compared the other?
A related question. What do you think about reorganizing the folder
structure a little to clearly separate the spec includes from the
implementation specific ones?
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]