SalesPoint Framework v3.0

Hook: Incorporate new Shop


Requirement

An instance of a new subclass of the sale.Shop class is needed to replace the default, because some new behavior was added in the subclass; e.g. options where added to, removed from or replaced in the Shop's MenuSheet, the logging mechanism was changed, or additional global conditions where imposed on shutdown-ability.

Method of Adaptation
Replace Feature
Level of Support
Parameter Pattern  
HotSpot
Application architecture
Participants
Shop, NewShop

Changes

  1. subclass NewShop of Shop.
  2. call Shop.setTheShop with parameter instance of NewShop.

Comments


SalesPoint Framework v3.0