Activity report on

  *[JIRA] Improvement SKER4404 - Automatically assign config settings in 
readSearchConfiguration where there is a setter*

  Scarab Link: http://sesat.no/scarab/issues/id/SKER4404
  Module: Sesat> Kernel


  Activity generated by Håvard Frøiland ([EMAIL PROTECTED]) at 08/19/2008 10:43

  *Reasons for the changes*


  *Comments*
  - By Håvard Frøiland - 08/19/2008 10:43 ---
  "Comments on moderation discussion:

a) Reuse is better, so I will try to use bean info.

b) We need to implement readSearchConfiguration or equivalent, since we have 
some specialized code depending on the class. Therefor this needs to be 
introduced somewhere, as a interface or a class. Today we have this implemented 
as a class (AbstractSearchConfiguration) and all subclasses will be ready to 
read it's configuration this specific way. If we used a interface it could be 
introduced more scattered where it was wanted.

So if we make an interface that describes the before and after method, then the 
classes that needs this can implement this. The radSearchConfiguration can be 
made static, and take the configuration and the object as a parameter.

I think this is a much better solution then to have every class call a functor 
object to get its configuration read.

c) Having before & after follows from b"
_______________________________________________
Kernel-issues mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-issues

Svar til