nsIComponentManager

IID:a88e5a60-205a-4bb1-94e1-2628daf51eae
Inherits From:nsISupports

Methods

void createInstance ( nsCIDRef class , nsISupports delegate , nsIIDRef IID , out nsQIResult* result ) void createInstanceByContractID ( char* contractID , nsISupports delegate , nsIIDRef IID , out nsQIResult* result ) void getClassObject ( nsCIDRef class , nsIIDRef IID , out nsQIResult* result ) void getClassObjectByContractID ( char* contractID , nsIIDRef IID , out nsQIResult* result )

void createInstance ( nsCIDRef class , nsISupports delegate , nsIIDRef IID , out nsQIResult* result )

Create an instance of the CID class and return the interface iID.

Arguments:
class: : ClassID of object instance requested
delegate: : Used for aggregation
IID: : IID of interface requested
result

void createInstanceByContractID ( char* contractID , nsISupports delegate , nsIIDRef IID , out nsQIResult* result )

Create an instance of the CID that implements contractID and return the interface iID.

Arguments:
contractID: : contractID of object instance requested
delegate: : Used for aggregation
IID: : IID of interface requested
result

void getClassObject ( nsCIDRef class , nsIIDRef IID , out nsQIResult* result )

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

Arguments:
class: The classid of the factory that is being requested
IID
result

void getClassObjectByContractID ( char* contractID , nsIIDRef IID , out nsQIResult* result )

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

Arguments:
contractID
IID
result

References

This interface is the type of the following properties:

nsIXPCComponents.manager

This interface is passed as an argument to the following methods:

nsIComponentLoader.init, nsIModule.canUnload, nsIModule.getClassObject, nsIModule.registerSelf, nsIModule.unregisterSelf

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com