Service Facilities: Extending Abstract Factories to Decouple Advanced Dependencies

  • Authors:
  • Nigamanth Sridhar;Bruce W. Weide;Paolo Bucci

  • Affiliations:
  • -;-;-

  • Venue:
  • ICSR-7 Proceedings of the 7th International Conference on Software Reuse: Methods, Techniques, and Tools
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

It is widely agreed that component interactions should be based on the import and export of interface information only, not on knowledge of implementation-specific details. This can be achieved in many cases either by explicit parameterization using templates (in languages that have them) or by using some variant of the abstract factory pattern. We introduce an alternative: the use of service facilities. This technique is similar both to the use of templates and to the use of factories, but it is preferable to both in several important ways. Service facilities can be used to decouple design-time concrete-to-concrete component dependencies in any reasonable programming language and with any component infrastructure that is based on design-by-contract principles.