autoRegister
Register a .manifest file, or an entire directory containing
these files. Registration lasts for this run only, and is not cached.
@note Formerly this method would register component files directly. This
is no longer supported.
autoUnregister
@status OBSOLETE: This method is no longer implemented, but preserved
in this interface for binary compatibility with
Mozilla 1.9.2.
registerFactory
Register a factory with a given ContractID, CID and Class Name.
aClass | : CID of object |
aClassName | : Class Name of CID (unused) |
aContractID | : ContractID associated with CID aClass. May be null if no contract ID is needed. |
aFactory | : Factory that will be registered for CID aClass. If aFactory is null, the contract will be associated with a previously registered CID. |
unregisterFactory
Unregister a factory associated with CID aClass.
@throws NS_ERROR* Method failure.
aClass | : CID being unregistered |
aFactory | : Factory previously registered to create instances of CID aClass. |
registerFactoryLocation
@status OBSOLETE: This method is no longer implemented, but preserved
in this interface for binary compatibility with
Mozilla 1.9.2.
unregisterFactoryLocation
@status OBSOLETE: This method is no longer implemented, but preserved
in this interface for binary compatibility with
Mozilla 1.9.2.
isCIDRegistered
Returns true if a factory is registered for the CID.
aClass | : CID queried for registeration |
: true if a factory is registered for CID false otherwise. |
isContractIDRegistered
Returns true if a factory is registered for the contract id.
aClass | : contract id queried for registeration |
: true if a factory is registered for contract id false otherwise. |
enumerateCIDs
Enumerate the list of all registered CIDs.
: enumerator for CIDs. Elements of the enumeration can be QI'ed for the nsISupportsID interface. From the nsISupportsID, you can obtain the actual CID. |
enumerateContractIDs
Enumerate the list of all registered ContractIDs.
: enumerator for ContractIDs. Elements of the enumeration can be QI'ed for the nsISupportsCString interface. From the nsISupportsCString interface, you can obtain the actual Contract ID string. |
CIDToContractID
@status OBSOLETE: This method is no longer implemented, but preserved
in this interface for binary compatibility with
Mozilla 1.9.2.
contractIDToCID
Returns the CID for a given Contract ID, if one exists and is registered.
: Contract ID. |