Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES
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
subclass NewLog of Log.
implementation NewCreator of LogCreator.
NewCreator.createLog implements
LogCreator.createLog
returning instance of NewLog.
call
Log.setLogCreator
with parameter instance of NewCreator.
Comments
LogCreators
are usually created as anonymous inner classes directly in the call to
setLogCreator
.
Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES