Extension Manager - API
Last modified by Krzysztof Płachno on 2017/06/01 12:25
Services
ExtensionManager
- resolve extension among all repositories including local and core repositories.
CoreRepository
Reference core extensions. The extensions that are part of the sealed distribution and which are not upgradable.
LocalRepository
Reference local and installed extensions.
ExtensionRepositoryManager
Resolve extension by searching in all registered remote ExtensionRepository objects.
ExtensionHandlerManager
Take care of the extension type specific actions.
Extension points components interfaces
ExtensionRepositoryFactory
- role hint: the type of repository supported ("maven", "xwiki, etc.)
Create ExtensionRepository objects.
ExtensionHandler
- role hint: the type of extensions supported ("jar", "xar", etc.)
Is called to apply extension type specific installation/uninstallation/upgrade actions (load components from jar extensions, import xar pages, etc.).
ExtensionRepositorySource
- role hint: just need to be unique among all ExtensionRepositorySource implementations
Provide a list of ExtensionRepositoryId representing the remote repositories where ExtensionRepositoryManager will search.