Linux Mac OSX Windows

  
[scriptable, uuid(a88e5a60-205a-4bb1-94e1-2628daf51eae)]
interface nsIComponentManager : nsISupports

Methods

 createInstance

 Create an instance of the CID aClass and return the interface aIID.

 @param aClass : ClassID of object instance requested
 @param aDelegate : Used for aggregation
 @param aIID : IID of interface requested
void createInstance(in nsCIDRef aClass, in nsISupports aDelegate, in nsIIDRef aIID, [iid_is(aIID), retval] out nsQIResult result)
 createInstanceByContractID

 Create an instance of the CID that implements aContractID and return the
 interface aIID. 

 @param aContractID : aContractID of object instance requested
 @param aDelegate : Used for aggregation
 @param aIID : IID of interface requested
void createInstanceByContractID(in string aContractID, in nsISupports aDelegate, in nsIIDRef aIID, [iid_is(aIID), retval] out nsQIResult result)
 getClassObject

 Returns the factory object that can be used to create instances of
 CID aClass

 @param aClass The classid of the factory that is being requested
void getClassObject(in nsCIDRef aClass, in nsIIDRef aIID, [iid_is(aIID), retval] out nsQIResult result)
 getClassObjectByContractID

 Returns the factory object that can be used to create instances of
 CID aClass

 @param aClass The classid of the factory that is being requested
void getClassObjectByContractID(in string aContractID, in nsIIDRef aIID, [iid_is(aIID), retval] out nsQIResult result)