Changes between Version 4 and Version 5 of GROUP_PLUGINS_R0


Ignore:
Timestamp:
03/20/09 13:16:27 (16 years ago)
Author:
boyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified GROUP_PLUGINS_R0

    v4 v5  
    4343 
    4444= Design = 
    45 The org.sophie2.core.modularity module will be expanded by actually implementing the TrueModuleRegistry and a FileEntryManager. The TrueModuleRegistry will contain a list of the modules started by Felix. Each module will register itself in this list at startup - this will be implemented in the SophieModule class. This class will also provide the abstract methods isConfigurable() and configure() that can be implemented by each module that has some configuration. Each plugin does the configuration on its own and decides how to provide it. The FileEntryManager will contain methods for getting readable and writable resources (file entries). The PluginAboutPallete will be changed so that it takes the current ModuleRegistry as a source (not the Fake one as it was until now). The ModuleRegistry class get() method will return the appropriate registry. The following class diagrams reflect the changes that will be made to the core.modularity module. 
     45The [source:/trunk/sophie2-platform/modules/org.sophie2.core.modularity/src/main/java/org/sophie2/core/modularity org.sophie2.core.modularity] module will be expanded by actually implementing the [source:/trunk/sophie2-platform/modules/org.sophie2.core.modularity/src/main/java/org/sophie2/core/modularity/TrueModuleRegistry TrueModuleRegistry] and a [source:/trunk/sophie2-platform/modules/org.sophie2.core.modularity/src/main/java/org/sophie2/core/modularity/FileEntryManager FileEntryManager]. 
     46The TrueModuleRegistry will contain a list of the modules started by Felix. Each module will register itself in this list at startup - this will be implemented in the SophieModule class. This class will also provide the abstract methods isConfigurable() and configure() that can be implemented by each module that has some configuration. Each plugin does the configuration on its own and decides how to provide it. 
     47The FileEntryManager will contain methods for getting readable and writable resources (file entries). The PluginAboutPallete will be changed so that it takes the current ModuleRegistry as a source (not the Fake one as it was until now). The ModuleRegistry class get() method will return the appropriate registry. The following class diagram reflects the changes that will be made to the core.modularity module: 
    4648 
    47 ^Diagrams should go here. 
     49[[Image(source:/trunk/sophie2-platform/doc/uml-design-diagrams/core.modularity-FileEntryManager.png)]] 
    4850 
    49 Two unit tests will be created: TrueModuleRegistryTest and FileEntryManagerTest. 
     51Two unit tests will be created: [source:/trunk/sophie2-platform/modules/org.sophie2.core.modularity/src/test/java/org/sophie2/core/modularity/TrueModuleRegistryTest TrueModuleRegistryTest] and [source:/trunk/sophie2-platform/modules/org.sophie2.core.modularity/src/test/java/org/sophie2/core/modularity/FileEntryManagerTest FileEntryManagerTest]. 
     52 
     53Code using the Class.getResource() method will be refactored to use the FileEntryManager. 
    5054 
    5155= Implementation = 
    52 ^Describe and link the implementation results here (from the wiki or the repository). 
     56Done according to the design. Changesets:[[BR]] [changeset:1781], [changeset:1792], [changeset:1794], [changeset:1800], [changeset:1801], [changeset:1802], [changeset:1904], [changeset:1905], [changeset:1906]. 
    5357 
    5458= Testing =