addExtensionModule

public void addExtensionModule(IExtensionModule extensionModule)

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.

Parameters

extensionModule

Custom module.

Throws

IllegalArgumentException

Thrown when the IExtensionModule parameter is invalid.