SalesPoint Framework v3.0

Hook: Incorporate New Log Type


Requirement

A subclass of Log has been created and needs to be integrated into the system.

Method of Adaptation
Replace Feature
Level of Support
Parameter Pattern  
HotSpot
Log management
Participants
Log, NewLog , LogCreator, NewCreator

Changes

  1. subclass NewLog of Log.
  2. implementation NewCreator of LogCreator.
  3. NewCreator.createLog implements LogCreator.createLog returning instance of NewLog.
  4. call Log.setLogCreator with parameter instance of NewCreator.

Comments


SalesPoint Framework v3.0