nsIComponentManager

Methods

getClassObject(aClass, aIID, result)

getClassObject

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

Parameters

aClass The classid of the factory that is being requested

getClassObjectByContractID(aContractID, aIID, result)

getClassObjectByContractID

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

Parameters

aClass The classid of the factory that is being requested

createInstance(aClass, aDelegate, aIID, result)

createInstance

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

Parameters

aClass : ClassID of object instance requested
aDelegate : Used for aggregation
aIID : IID of interface requested

createInstanceByContractID(aContractID, aDelegate, aIID, result)

createInstanceByContractID

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

Parameters

aContractID : aContractID of object instance requested
aDelegate : Used for aggregation
aIID : IID of interface requested

addBootstrappedManifestLocation(aLocation)

addBootstrappedManifestLocation

Adds a bootstrapped manifest location on runtime.

Parameters

aLocation : A directory where chrome.manifest resides, or an XPI with it on the root.

removeBootstrappedManifestLocation(aLocation)

removeBootstrappedManifestLocation

Removes a bootstrapped manifest location on runtime.

Parameters

aLocation : A directory where chrome.manifest resides, or an XPI with it on the root.

getManifestLocations()

getManifestLocations

Get an array of nsIURIs of all registered and builtin manifest locations.