SalesPoint Framework v3.0

Hook: Open Log File For Evaluation


Requirement

A log file needs to be opened for reading, possibly with a filter.

Method of Adaptation
Add Feature
Level of Support
Parameter Pattern  
HotSpot
Log management
Participants
InputStream, inputStream , LogInputStream, logInput , LogEntryFilter, NewFilter , filter

Changes

  1. instance inputStream of InputStream.
  2. if all entries in log file are needed for evaluation:
    1. instance logInput of LogInputStream with parameter inputStream.
  3. if only selected items are needed for evaluation:
    1. implementation NewFilter of LogEntryFilter.
    2. NewFilter.accept implements LogEntryFilter.accept .
    3. instance filter of NewFilter.
    4. instance logInput of LogInputStream with parameters inputStream, filter.

Comments


SalesPoint Framework v3.0