nsIComponentManager
From MDC
[edit] Summary
The nsIComponentManager interface provides methods to access factory objects and instantiate instances of classes.
#include "nsIComponentManager.h" [scriptable, uuid=(a88e5a60-205a-4bb1-94e1-2628daf51eae)] interface nsIComponentManager : nsISupports { ... };
[edit] Methods
-
getClassObject - Returns the factory object for the class specified by ClassID.
-
getClassObjectByID - Returns the factory object for the class specified by ContractID.
-
createInstance - Creates an instance of the class specified by ClassID.
-
createInstanceByContractID - Creates an instance of the class specified by ContractID.
[edit] History
This interface was finalized for Mozilla 0.9.8. See bug 98553 for details.