←Older revision | Revision as of 21:14, 8 May 2012 | ||
Line 10: | Line 10: | ||
</source> | </source> | ||
- | It is clear that these '''protected''' method cannot be called by anyone else except the [[API]] infrastructure. On the other hand, this prevents multiple inheritance for implementors and delegation to other implementors. Whether to choose the [[ImplementOnlyAbstractClass]] or [[ImplementOnlyInterface]] is ultimately a matter of personal preference. | + | It is clear that these '''protected''' method cannot be called by anyone else except the [[API]] infrastructure. On the other hand, this prevents multiple inheritance for implementors and delegation from one implementor to other implementors. Whether to choose the [[ImplementOnlyAbstractClass]] or [[ImplementOnlyInterface]] is ultimately a matter of personal preference. |
[[Category:APIDesignPatterns]] | [[Category:APIDesignPatterns]] | ||
[[Category:APIDesignPatterns:Clarity]] | [[Category:APIDesignPatterns:Clarity]] | ||
[[Category:APIDesignPatterns:Creational]] | [[Category:APIDesignPatterns:Creational]] |