Last modified 16 years ago
Last modified on 01/23/09 16:50:11
Analysis
Overview
This task is about the enabling and disabling of plug-ins. What is more, enabling and disabling a plug-in should be done without restarting the application (in real time).
Task requirements
- Plug-ins should be possible to enable without restarting Sophie 2.0
- Define and design a way to state whether a plug-in would be "hot enable" compatible - the only reason it is now may be that another thing it depends on is missing.
- Create classes to control the enabling and disabling of a plug-in (for the APP_PLUGIN_MANAGER_HOT_ENABLE_R0 task).
- If a plug-in is not possible to start, the plug-in manager should display appropriate information. Provide this information if this situation occurs.
- Unit tests for enabling and disabling a plug-in depending on its "hot enabling" compatibility.
Task result
- Source code.
Implementation idea
- review results of the following tasks => PLUGIN_SUPPORT_LIB_BASE_R0, PLUGIN_SUPPORT_LIB_CONFIGURING_R0.
- we can use interface to provide whether a plug-in is hot enable compatible or not.
Related
- Note that the task should be done after the PLUGIN_SUPPORT_LIB_BASE and PLUGIN_SUPPORT_LIB_CONFIGURING task's first revisions.
- PLUGIN_SUPPORT_LIB_BASE_R0 - done.
- PLUGIN_SUPPORT_LIB_BASE_R1 - started.
- PLUGIN_SUPPORT_LIB_BASE_R2? - pending in this iteration.
- PLUGIN_SUPPORT_LIB_CONFIGURING_R0 - pending in this iteration.
How to demo
- Run unit tests on plug-in manager enabling/disabling.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)