
nsIComponentManager
This interface accesses the mechanism used to organize and create objects in XPCOM. This interface is scriptable.
Returns the factory object that is used as an intermediary in the creation of instances of the class represented by the
CID aClass.Syntax:
void nsIComponentManager::getClassObject( in nsCIDRef aClass,in nsIIDRef aIID, [iid_is(aIID),] out nsQIResult result)Parameters:
nsresult:
Returns the factory object that is used as an intermediary in the creation of instances of the class represented by the contract ID string.
Syntax:
void nsIComponentManager::getClassObjectByContractID( in string aContractID, in nsIIDRef aIID, [iid_is(aIID),retval] out nsQIResult result)Parameters:
nsresult:
Creates an instance of the class indicated by the class ID and returns the interface indicated by the interface ID.
Syntax:
void nsIComponentManager::createInstance( in nsCIDRef aClass,in nsISupports aDelegate, in nsIIDRef aIID, [iid_is(aIID),retval] out nsQIResult result)Parameters:
nsresult:
Creates an instance of the class indicated by the contract ID string and returns the interface indicated by the interface ID.
Syntax:
void nsIComponentManager::createInstanceByContractID( in string aContractID,in nsISupports aDelegate, in nsIIDRef aIID, [iid_is(aIID),retval] out nsQIResult result)Parameters:
nsresult:
| Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |