Changes between Version 25 and Version 26 of GROUP_PLUGINS_ENABLE_DISABLE_R0


Ignore:
Timestamp:
06/01/09 18:24:06 (16 years ago)
Author:
pav
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_PLUGINS_ENABLE_DISABLE_R0

    v25 v26  
    5757   * ListProp<ModuleInfo> startedModules() - Gets the list of currently started modules. These are the modules which are already running. Under True(in Felix) they are called active modules. 
    5858   * boolean isEnabled(String moduleId) - Checks the module with this given module id is enabled and must return true if the module is enabled. 
    59    * void setEnabled(String moduleId) - Sets the module with the given id to be enabled. 
    60    * void setDisabled(String moduleId) - Sets the module with the given id to be disabled. 
    61  
    62     * Note: for the other revision parsing of the MANIFEST should be provided ( then you should compare the results with known modules so that there is no wrong names for the modules when manifest is parsed - this is because the manifest keeps the packages not only the modules names as Import-Packages.). 
     59   * boolean setEnabled(String moduleId) - Sets the module with the given id to be enabled. 
     60   * boolean setDisabled(String moduleId) - Sets the module with the given id to be disabled. 
     61    * setEnabled/Disabled will compare the dependencies with the modules from the config and if there are conflicts(the dependency will not be started or the module to be disabled is wanted by some other module) will return false. 
     62    * Note: for the other revision parsing of the MANIFEST should be provided ( then you should compare the results with known modules so that there is no wrong names for the modules when manifest is parsed - this is because the manifest keeps the packages not only the modules names as Import-Packages). 
    6363  * The following methods has to be removed as long as their functionality is not needed or it will be provided by the upper ones: 
    6464   * registeredModules() in FakeModuleRegistry 
     
    6767  * Implementation under FAKE launch will follow these steps: 
    6868   * The fake launch will use author/reader.bundles.config file as True. There will be listed the modules ids of the modules which are enabled and have to be started. 
    69    * start() method in FakeModuleRegistry will start the modules from the config file after their dependencies are being checked. This has to be done with getDependencies and setEnabled/Disabled methods - setEnabled/Disabled will compare the dependencies with the modules from the config and if there are conflicts(the dependency will not be started or the module to be disabled is wanted by some other module) will return false. 
    70  
     69   * start() method in FakeModuleRegistry will start the modules from the config file after their dependencies are being checked. 
    7170  * Implementation under TRUE launch will follow these steps: 
    7271   * In Main class of the org.sophie2.launcher module AUTO_START_PROP should be changed to AUTO_INSTALL_PROP so all the modules will be started as installed.