add Extension Module
Adds a custom IExtensionModule. After adding, the module can be retrieved via getExtensionModules.
Note:
1. This method only adds the custom IExtensionModule to the list without calling onInit.
2. For registration, use registerExtensionModule.
3. This method is intended for reordering IExtensionModules.
Content copied to clipboard
Parameters
extension Module
Custom module.
Throws
Illegal Argument Exception
Thrown when the IExtensionModule parameter is invalid.