Changes between Version 1 and Version 2 of PLUGIN_SUPPORT_LIB_CONFIGURING_R1


Ignore:
Timestamp:
06/04/09 17:03:47 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PLUGIN_SUPPORT_LIB_CONFIGURING_R1

    v1 v2  
    3232 
    3333== Implementation idea == 
     34 * This functionality has much in common with skins, but cannot be implemented as skins. So create a new module. 
     35 
    3436 * Create a singleton class {{{ConfigurationManager}}} (or something else) that has the described {{{get}}} and {{{set}}} methods. 
    3537 
     
    6163 
    6264= Design = 
    63 ^(Describe your design here.)^ 
     65 * Package {{{org.sophie2.base.config}}} 
     66 
     67 * Immutable generic class {{{ConfigKey}}} that encapsulates all of the information about a key: 
     68  * key name - String 
     69  * configuration file - File 
     70  * default value (if the key is not present in the file) - Object 
     71  * schema (for the persistence) - String, for example "imm:int|storage|decimal" 
     72 
     73 * Class {{{Configuration}}}  
    6474 
    6575= Implementation =