WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIModuleLoader

IID:9b328e24-4d85-4a9c-9cb7-f25e66f430c3
Inherits From:nsISupports

Module loaders are responsible for loading a component file. The static component loader is special and does not use this interface.


Methods

nsIModule loadModule ( nsILocalFile file )

nsIModule loadModule ( nsILocalFile file )

Return the module for a specified file. The module loader should cache the module and return the same module for subsequent requests for the same physical file. The module loader is responsible for unloading the module during shutdown.

Arguments:
file

Reference documentation is generated from Mozilla's source.