CALL FOR: Moving scanpage
Called by: Pierre van Rooden Total tally on this call : +9
START: START OF VOTING: 2004-10-05 15:30 END OF CALL: 2004-10-08 15:30
YEA (10) : Andre van Toly, Gerard van Enk, Daniel Ockeloen, Marcel Maatkamp, Jaco de Groot, Rico Jansen, Michiel Meeuwissen, Rob Vermeulen, Ernst Bunders, Mark Huijser
ABSTAIN (1) : Nico Klasens
NAY (1) : Kees Jongenburger
VETO (0) :
No votes, assumed abstained (3): Eduard Witteveen, Johannes Verelst, Rob van Maris
Result: The vote succeeded. Scanpage can be replaced with PageContext.
Pierre van Rooden wrote:
This call is the second call for the execution of the second step in the Optimalization project. This step concerns moving SCAN to a separate application.
This vote is a proposal for how to move the scanpage class out of the core.
The scanpage class is replaced in the core by
org.mmbase.util.PageContext. This small container class acts as a wrapper for HttpServletRequest and HttpServletResponse.
The scanpage class will extend PageContext and be passed by SCAN, so that old scan classes can still its the functionality.
All getList(), replace(), and process() methods in MMObjectBuilder or ProcessorModule classes need to be adapted. In most cases only the parameter types will need to be changed. getList() no longer throws ParseException, so the throws clause should also be removed.
Also, the TransactionHandlerInterface needs to be changed (it also uses sessionInfo, so it needed to changed anyway).
This change is for MMBase 1.8.
-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Never summon anything bigger than your head."
